Class ExtendedSignInOptions
Options for configuring sign in.
Inherited Members
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class ExtendedSignInOptions : SignInOptions
Constructors
ExtendedSignInOptions()
Properties
AllowAutoprovisionOfUser
Gets or sets if auto provisioning of a user is allowed.
Declaration
public bool AllowAutoprovisionOfUser { get; set; }
Property Value
|
Boolean
True if auto provision of user is allowed, otherwise false. |
Remarks
Auto provision of a user is the process where an external login is automatically associated with a user. The association is based on a claim (for example sub or email) that the external login provider returns and that matches the local user instance.
AllowLocalAccount
Gets or sets if local user accounts is allowed.
Declaration
public bool AllowLocalAccount { get; set; }
Property Value
|
Boolean
True if local user accounts is allowed, otherwise false. |
HashSwedishIdentityNumber
Gets or sets if the the Microsoft.AspNetCore.Identity.UserLoginInfo.ProviderKey should be hashed if it matches a Swedish identity number. The default is true.
Declaration
public bool HashSwedishIdentityNumber { get; set; }
Property Value
|
Boolean
|
MustConfirmAgreementToAutoprovision
Gets or sets if the users must confirm to agreement before auto provision of a user. The default is false.
Declaration
public bool MustConfirmAgreementToAutoprovision { get; set; }
Property Value
|
Boolean
|
SaveUserNameExpireDays
Gets or sets the number of days that a saved user name will be stored in the cookie.
Declaration
public int SaveUserNameExpireDays { get; set; }
Property Value
|
System.Int32
|