IdentityOptions Class¶
Represents all the options you can use to configure the identity system.
- Namespace
Microsoft.AspNetCore.Builder
- Assemblies
- Microsoft.AspNetCore.Identity
Properties¶
-
Microsoft.AspNetCore.Builder.IdentityOptions.
ClaimsIdentity
¶ Gets or sets the
Microsoft.AspNetCore.Identity.ClaimsIdentityOptions
for the identity system.Return type: Microsoft.AspNetCore.Identity.ClaimsIdentityOptions Returns: The Microsoft.AspNetCore.Identity.ClaimsIdentityOptions
for the identity system.public ClaimsIdentityOptions ClaimsIdentity { get; set; }
-
Microsoft.AspNetCore.Builder.IdentityOptions.
Cookies
¶ Gets or sets the
Microsoft.AspNetCore.Identity.IdentityCookieOptions
for the identity system.Return type: Microsoft.AspNetCore.Identity.IdentityCookieOptions Returns: The Microsoft.AspNetCore.Identity.IdentityCookieOptions
for the identity system.public IdentityCookieOptions Cookies { get; set; }
-
Microsoft.AspNetCore.Builder.IdentityOptions.
Lockout
¶ Gets or sets the
Microsoft.AspNetCore.Identity.LockoutOptions
for the identity system.Return type: Microsoft.AspNetCore.Identity.LockoutOptions Returns: The Microsoft.AspNetCore.Identity.LockoutOptions
for the identity system.public LockoutOptions Lockout { get; set; }
-
Microsoft.AspNetCore.Builder.IdentityOptions.
Password
¶ Gets or sets the
Microsoft.AspNetCore.Identity.PasswordOptions
for the identity system.Return type: Microsoft.AspNetCore.Identity.PasswordOptions Returns: The Microsoft.AspNetCore.Identity.PasswordOptions
for the identity system.public PasswordOptions Password { get; set; }
-
Microsoft.AspNetCore.Builder.IdentityOptions.
SecurityStampValidationInterval
¶ Gets or sets the
System.TimeSpan
after which security stamps are re-validated.Return type: System.TimeSpan Returns: The System.TimeSpan
after which security stamps are re-validated.public TimeSpan SecurityStampValidationInterval { get; set; }
-
Microsoft.AspNetCore.Builder.IdentityOptions.
SignIn
¶ Gets or sets the
Microsoft.AspNetCore.Identity.SignInOptions
for the identity system.Return type: Microsoft.AspNetCore.Identity.SignInOptions Returns: The Microsoft.AspNetCore.Identity.SignInOptions
for the identity system.public SignInOptions SignIn { get; set; }
-
Microsoft.AspNetCore.Builder.IdentityOptions.
Tokens
¶ Gets or sets the
Microsoft.AspNetCore.Identity.TokenOptions
for the identity system.Return type: Microsoft.AspNetCore.Identity.TokenOptions Returns: The Microsoft.AspNetCore.Identity.TokenOptions
for the identity system.public TokenOptions Tokens { get; set; }
-
Microsoft.AspNetCore.Builder.IdentityOptions.
User
¶ Gets or sets the
Microsoft.AspNetCore.Identity.UserOptions
for the identity system.Return type: Microsoft.AspNetCore.Identity.UserOptions Returns: The Microsoft.AspNetCore.Identity.UserOptions
for the identity system.public UserOptions User { get; set; }
-