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 | |
---|---|---|
ClaimsIdentityFactory<TUser> | Creates a ClaimsIdentity from a User |
|
ClaimsIdentityFactory<TUser, TKey> | Creates a ClaimsIdentity from a user. |
|
Constants | Constants class |
|
DefaultAuthenticationTypes | Enumerates the default authentication types. |
|
EmailTokenProvider<TUser> | Represents a token provider that generates tokens from the user's security stamp and notifies a user via email. |
|
EmailTokenProvider<TUser, TKey> | Represents a token provider that generates tokens from the user's security stamp and notifies a user via their email. |
|
IdentityExtensions | Provides extension methods to get the user name or user ID from an identity. |
|
IdentityMessage | Represents a message. |
|
IdentityResult | Represents the result of an identity operation. |
|
IIdentityMessageServiceExtensions | ||
MinimumLengthValidator | Represents a minimum length password validator. |
|
PasswordHasher | Implements password hashing methods. |
|
PasswordValidator | Provides properties and methods that are used to validate some basic password policy like length and number of non alphanumerics. |
|
PhoneNumberTokenProvider<TUser> | Represents a TokenProvider that generates tokens from the user's security stamp and notifies a user via their phone number. |
|
PhoneNumberTokenProvider<TUser, TKey> | Represents a token provider that generates tokens from the user's security stamp and notifies a user via their phone number. |
|
RoleManager<TRole> | Exposes role related API which will automatically save changes to the RoleStore. |
|
RoleManager<TRole, TKey> | Exposes the role related APIs which will automatically save changes to the RoleStore. |
|
RoleManagerExtensions | Represents extension methods for RoleManager. |
|
RoleValidator<TRole> | Represents a class that validates roles before they are saved. |
|
RoleValidator<TRole, TKey> | Represents a class that validates roles before they are saved. |
|
TotpSecurityStampBasedTokenProvider<TUser, TKey> | Represents a TokenProvider that generates time based codes using the user security stamp. |
|
UserLoginInfo | Represents a linked login for a user (i.e. a facebook/google account). |
|
UserManager<TUser> | Represents the user manager for users where the primary key for the user is of type string. |
|
UserManager<TUser, TKey> | Exposes user related APIs which will automatically save changes to the UserStore. |
|
UserManagerExtensions | Represents the extension methods for user manager. |
|
UserValidator<TUser> | Represents a class that validates users before they are saved. |
|
UserValidator<TUser, TKey> | Represents a class that validates users before they are saved. |
Interfaces
Interface | Description | |
---|---|---|
IClaimsIdentityFactory<TUser> | Defines the method a factory must implement to create a claims identity from a user. |
|
IClaimsIdentityFactory<TUser, TKey> | Defines the method a factory must implement to asynchronously create a claims identity from an IUser. |
|
IIdentityMessageService | Defines the methods to implement to expose a way to send messages, for example, e-mail or SMS. |
|
IIdentityValidator<T> | Defines the methods to implement to validate an item. |
|
IPasswordHasher | Defines methods for password hashing. |
|
IQueryableRoleStore<TRole> | Defines the members for a queryable role store. |
|
IQueryableRoleStore<TRole, TKey> | Defines the members for a queryable role store. |
|
IQueryableUserStore<TUser> | Defines the members for a queryable user store. |
|
IQueryableUserStore<TUser, TKey> | Defines the members for a queryable user store. |
|
IRole | Defines the set of data needed to persist role information. |
|
IRole<TKey> | Defines the set of data needed to persist role information. |
|
IRoleStore<TRole> | Defines the methods for role management. |
|
IRoleStore<TRole, TKey> | Defines the methods for role management. |
|
IUser | Defines the properties for a user. |
|
IUser<TKey> | Defines the properties for a user. |
|
IUserClaimStore<TUser> | Defines the methods to implement to store the specific claims of the user. |
|
IUserClaimStore<TUser, TKey> | Defines the methods to implement to store the specific claims of the user. |
|
IUserEmailStore<TUser> | Defines the methods to implement to store the user email. |
|
IUserEmailStore<TUser, TKey> | Defines the methods to implement to store the user email. |
|
IUserLockoutStore<TUser, TKey> | Defines the methods to implement to store information about account lockout, including access failures and lockout status. |
|
IUserLoginStore<TUser> | Defines the methods to implement to map users to login providers. |
|
IUserLoginStore<TUser, TKey> | Defines the methods to implement to map users to login providers. |
|
IUserPasswordStore<TUser> | Defines the members for a user password store. |
|
IUserPasswordStore<TUser, TKey> | Defines the members for the user password store. |
|
IUserPhoneNumberStore<TUser> | Defines the members for a user phone number store. |
|
IUserPhoneNumberStore<TUser, TKey> | Defines the members for the user phone number store. |
|
IUserRoleStore<TUser> | Defines the methods to implement to map users to their roles. |
|
IUserRoleStore<TUser, TKey> | Defines the methods to implement to map users to their roles. |
|
IUserSecurityStampStore<TUser> | Defines the methods for a user security stamp store. |
|
IUserSecurityStampStore<TUser, TKey> | Defines the methods for a user security stamp store. |
|
IUserStore<TUser> | Defines the methods for user management APIs. |
|
IUserStore<TUser, TKey> | Defines the methods for user management APIs. |
|
IUserTokenProvider<TUser, TKey> | Represents the interface to generate user tokens. |
|
IUserTwoFactorStore<TUser, TKey> | Provides methods used to get or set the two factor authentication for a user. |
Enumerations
Enumeration | Description | |
---|---|---|
PasswordVerificationResult | Return result for IPasswordHasher |
Return to top