Share via


Microsoft.AspNet.Identity Namespace

 

The Microsoft.AspNet.Identity namespace contains classes and interfaces related to managing users and roles for ASP.NET Identity.

Classes

Class Description
System_CAPS_pubclass ClaimsIdentityFactory<TUser>

Creates a ClaimsIdentity from a User

System_CAPS_pubclass ClaimsIdentityFactory<TUser, TKey>

Creates a ClaimsIdentity from a user.

System_CAPS_pubclass Constants

Constants class

System_CAPS_pubclass DefaultAuthenticationTypes

Enumerates the default authentication types.

System_CAPS_pubclass EmailTokenProvider<TUser>

Represents a token provider that generates tokens from the user's security stamp and notifies a user via email.

System_CAPS_pubclass EmailTokenProvider<TUser, TKey>

Represents a token provider that generates tokens from the user's security stamp and notifies a user via their email.

System_CAPS_pubclass IdentityExtensions

Provides extension methods to get the user name or user ID from an identity.

System_CAPS_pubclass IdentityMessage

Represents a message.

System_CAPS_pubclass IdentityResult

Represents the result of an identity operation.

System_CAPS_pubclass IIdentityMessageServiceExtensions

System_CAPS_pubclass MinimumLengthValidator

Represents a minimum length password validator.

System_CAPS_pubclass PasswordHasher

Implements password hashing methods.

System_CAPS_pubclass PasswordValidator

Provides properties and methods that are used to validate some basic password policy like length and number of non alphanumerics.

System_CAPS_pubclass PhoneNumberTokenProvider<TUser>

Represents a TokenProvider that generates tokens from the user's security stamp and notifies a user via their phone number.

System_CAPS_pubclass PhoneNumberTokenProvider<TUser, TKey>

Represents a token provider that generates tokens from the user's security stamp and notifies a user via their phone number.

System_CAPS_pubclass RoleManager<TRole>

Exposes role related API which will automatically save changes to the RoleStore.

System_CAPS_pubclass RoleManager<TRole, TKey>

Exposes the role related APIs which will automatically save changes to the RoleStore.

System_CAPS_pubclass RoleManagerExtensions

Represents extension methods for RoleManager.

System_CAPS_pubclass RoleValidator<TRole>

Represents a class that validates roles before they are saved.

System_CAPS_pubclass RoleValidator<TRole, TKey>

Represents a class that validates roles before they are saved.

System_CAPS_pubclass TotpSecurityStampBasedTokenProvider<TUser, TKey>

Represents a TokenProvider that generates time based codes using the user security stamp.

System_CAPS_pubclass UserLoginInfo

Represents a linked login for a user (i.e. a facebook/google account).

System_CAPS_pubclass UserManager<TUser>

Represents the user manager for users where the primary key for the user is of type string.

System_CAPS_pubclass UserManager<TUser, TKey>

Exposes user related APIs which will automatically save changes to the UserStore.

System_CAPS_pubclass UserManagerExtensions

Represents the extension methods for user manager.

System_CAPS_pubclass UserValidator<TUser>

Represents a class that validates users before they are saved.

System_CAPS_pubclass UserValidator<TUser, TKey>

Represents a class that validates users before they are saved.

Interfaces

Interface Description
System_CAPS_pubinterface IClaimsIdentityFactory<TUser>

Defines the method a factory must implement to create a claims identity from a user.

System_CAPS_pubinterface IClaimsIdentityFactory<TUser, TKey>

Defines the method a factory must implement to asynchronously create a claims identity from an IUser.

System_CAPS_pubinterface IIdentityMessageService

Defines the methods to implement to expose a way to send messages, for example, e-mail or SMS.

System_CAPS_pubinterface IIdentityValidator<T>

Defines the methods to implement to validate an item.

System_CAPS_pubinterface IPasswordHasher

Defines methods for password hashing.

System_CAPS_pubinterface IQueryableRoleStore<TRole>

Defines the members for a queryable role store.

System_CAPS_pubinterface IQueryableRoleStore<TRole, TKey>

Defines the members for a queryable role store.

System_CAPS_pubinterface IQueryableUserStore<TUser>

Defines the members for a queryable user store.

System_CAPS_pubinterface IQueryableUserStore<TUser, TKey>

Defines the members for a queryable user store.

System_CAPS_pubinterface IRole

Defines the set of data needed to persist role information.

System_CAPS_pubinterface IRole<TKey>

Defines the set of data needed to persist role information.

System_CAPS_pubinterface IRoleStore<TRole>

Defines the methods for role management.

System_CAPS_pubinterface IRoleStore<TRole, TKey>

Defines the methods for role management.

System_CAPS_pubinterface IUser

Defines the properties for a user.

System_CAPS_pubinterface IUser<TKey>

Defines the properties for a user.

System_CAPS_pubinterface IUserClaimStore<TUser>

Defines the methods to implement to store the specific claims of the user.

System_CAPS_pubinterface IUserClaimStore<TUser, TKey>

Defines the methods to implement to store the specific claims of the user.

System_CAPS_pubinterface IUserEmailStore<TUser>

Defines the methods to implement to store the user email.

System_CAPS_pubinterface IUserEmailStore<TUser, TKey>

Defines the methods to implement to store the user email.

System_CAPS_pubinterface IUserLockoutStore<TUser, TKey>

Defines the methods to implement to store information about account lockout, including access failures and lockout status.

System_CAPS_pubinterface IUserLoginStore<TUser>

Defines the methods to implement to map users to login providers.

System_CAPS_pubinterface IUserLoginStore<TUser, TKey>

Defines the methods to implement to map users to login providers.

System_CAPS_pubinterface IUserPasswordStore<TUser>

Defines the members for a user password store.

System_CAPS_pubinterface IUserPasswordStore<TUser, TKey>

Defines the members for the user password store.

System_CAPS_pubinterface IUserPhoneNumberStore<TUser>

Defines the members for a user phone number store.

System_CAPS_pubinterface IUserPhoneNumberStore<TUser, TKey>

Defines the members for the user phone number store.

System_CAPS_pubinterface IUserRoleStore<TUser>

Defines the methods to implement to map users to their roles.

System_CAPS_pubinterface IUserRoleStore<TUser, TKey>

Defines the methods to implement to map users to their roles.

System_CAPS_pubinterface IUserSecurityStampStore<TUser>

Defines the methods for a user security stamp store.

System_CAPS_pubinterface IUserSecurityStampStore<TUser, TKey>

Defines the methods for a user security stamp store.

System_CAPS_pubinterface IUserStore<TUser>

Defines the methods for user management APIs.

System_CAPS_pubinterface IUserStore<TUser, TKey>

Defines the methods for user management APIs.

System_CAPS_pubinterface IUserTokenProvider<TUser, TKey>

Represents the interface to generate user tokens.

System_CAPS_pubinterface IUserTwoFactorStore<TUser, TKey>

Provides methods used to get or set the two factor authentication for a user.

Enumerations

Enumeration Description
System_CAPS_pubenum PasswordVerificationResult

Return result for IPasswordHasher

Return to top