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 | |
DefaultAuthenticationTypes | Default authentication types values | |
IdentityExtensions | Extensions making it easier to get the user name/user id claims off of an identity. | |
IdentityResult | Represents the result of an identity operation | |
MinimumLengthValidator | Used to validate that strings are a minimum length | |
PasswordHasher | Implements password hashing methods | |
RoleManager<TRole> | Exposes role related api which will automatically save changes to the RoleStore | |
RoleManagerExtensions | Extension methods for IRoleManager | |
RoleValidator<TRole> | Validates roles before they are saved to an IRoleStore | |
UserLoginInfo | Represents a linked login for a user (i.e. a local username/password or a facebook/google account | |
UserManager<TUser> | Exposes user related api which will automatically save changes to the UserStore | |
UserManagerExtensions | Extension methods for IUserManager | |
UserValidator<TUser> | Validates users before they are saved to an IUserStore |
Interfaces
Interface | Description | |
---|---|---|
IClaimsIdentityFactory<TUser> | Interface for creating a ClaimsIdentity from an IUser | |
IIdentityValidator<T> | Used to validate an item | |
IPasswordHasher | Abstraction for password hashing methods | |
IRole | Minimal set of data needed to persist role data | |
IRoleStore<TRole> | Interface that exposes basic role management | |
IUser | Minimal interface for a user with a string user key | |
IUserClaimStore<TUser> | Stores user specific claims | |
IUserLoginStore<TUser> | Interface that maps users to login providers, i.e. Google, Facebook, Twitter, Microsoft | |
IUserPasswordStore<TUser> | Stores a user's password hash | |
IUserRoleStore<TUser> | Interface that maps users to login providers, i.e. Google, Facebook, Twitter, Microsoft | |
IUserSecurityStampStore<TUser> | Stores a user's security stamp | |
IUserStore<TUser> | Interface that exposes basic user management apis |
Enumerations
Enumeration | Description | |
---|---|---|
PasswordVerificationResult | Return result for IPasswordHasher |