IdentityOptions Class

Summary

Represents all the options you can used to configure the identity system.

Syntax

public class IdentityOptions

GitHub

View on GitHub

class Microsoft.AspNet.Identity.IdentityOptions

Properties

ApplicationCookieAuthenticationScheme()

Gets or sets the scheme used to identify application authentication cookies.

Return type:System.String
public static string ApplicationCookieAuthenticationScheme { get; set; }
ApplicationCookieAuthenticationType()

Gets or sets the authentication type used when constructing an Microsoft.AspNet.Identity.IdentityOptions.ClaimsIdentity from an application cookie.

Return type:System.String
public static string ApplicationCookieAuthenticationType { get; set; }
ChangeEmailTokenProvider()

Gets or sets the Microsoft.AspNet.Identity.IdentityOptions.ChangeEmailTokenProvider used to generate tokens used in email change confirmation emails.

Return type:System.String
public string ChangeEmailTokenProvider { get; set; }
ClaimsIdentity()

Gets or sets the Microsoft.AspNet.Identity.ClaimsIdentityOptions for the identity system.

Return type:Microsoft.AspNet.Identity.ClaimsIdentityOptions
public ClaimsIdentityOptions ClaimsIdentity { get; set; }
EmailConfirmationTokenProvider()

Gets or sets the Microsoft.AspNet.Identity.IdentityOptions.EmailConfirmationTokenProvider used to generate tokens used in account confirmation emails.

Return type:System.String
public string EmailConfirmationTokenProvider { get; set; }
ExternalCookieAuthenticationScheme()

Gets or sets the scheme used to identify external authentication cookies.

Return type:System.String
public static string ExternalCookieAuthenticationScheme { get; set; }
ExternalCookieAuthenticationType()

Gets or sets the authentication type used when constructing an Microsoft.AspNet.Identity.IdentityOptions.ClaimsIdentity from an external identity cookie.

Return type:System.String
public static string ExternalCookieAuthenticationType { get; set; }
Lockout()

Gets or sets the Microsoft.AspNet.Identity.LockoutOptions for the identity system.

Return type:Microsoft.AspNet.Identity.LockoutOptions
public LockoutOptions Lockout { get; set; }
Password()

Gets or sets the Microsoft.AspNet.Identity.PasswordOptions for the identity system.

Return type:Microsoft.AspNet.Identity.PasswordOptions
public PasswordOptions Password { get; set; }
PasswordResetTokenProvider()

Gets or sets the Microsoft.AspNet.Identity.IdentityOptions.PasswordResetTokenProvider used to generate tokens used in password reset emails.

Return type:System.String
public string PasswordResetTokenProvider { get; set; }
SecurityStampValidationInterval()

Gets or sets the System.TimeSpan after which security stamps are re-validated.

Return type:System.TimeSpan
public TimeSpan SecurityStampValidationInterval { get; set; }
SignIn()

Gets or sets the Microsoft.AspNet.Identity.SignInOptions for the identity system.

Return type:Microsoft.AspNet.Identity.SignInOptions
public SignInOptions SignIn { get; set; }
TwoFactorRememberMeCookieAuthenticationScheme()

Gets or sets the scheme used to identify Two Factor authentication cookies for saving the Remember Me state.

Return type:System.String
public static string TwoFactorRememberMeCookieAuthenticationScheme { get; set; }
TwoFactorRememberMeCookieAuthenticationType()

Gets or sets the authentication type used when constructing an Microsoft.AspNet.Identity.IdentityOptions.ClaimsIdentity from an two factor remember me authentication cookie.

Return type:System.String
public static string TwoFactorRememberMeCookieAuthenticationType { get; set; }
TwoFactorUserIdCookieAuthenticationScheme()

Gets or sets the scheme used to identify Two Factor authentication cookies for round tripping user identities.

Return type:System.String
public static string TwoFactorUserIdCookieAuthenticationScheme { get; set; }
TwoFactorUserIdCookieAuthenticationType()

Gets or sets the authentication type used when constructing an Microsoft.AspNet.Identity.IdentityOptions.ClaimsIdentity from an two factor authentication cookie.

Return type:System.String
public static string TwoFactorUserIdCookieAuthenticationType { get; set; }
User()

Gets or sets the Microsoft.AspNet.Identity.UserOptions for the identity system.

Return type:Microsoft.AspNet.Identity.UserOptions
public UserOptions User { get; set; }