Microsoft.AspNetCore.Identity Namespace

Classes

AspNetRoleManager<TRole>

Provides the APIs for managing roles in a persistence store.

AspNetUserManager<TUser>

Provides the APIs for managing user in a persistence store.

AuthenticatorTokenProvider<TUser>

Used for authenticator code verification.

ClaimsIdentityOptions

Options used to configure the claim types used for well known claims.

DataProtectionTokenProviderOptions

Contains options for the DataProtectorTokenProvider<TUser>.

DataProtectorTokenProvider<TUser>

Provides protection and validation of identity tokens.

EmailTokenProvider<TUser>

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

ExternalLoginInfo

Represents login information, source and externally source principal for a user record

IdentityBuilder

Helper functions for configuring identity services.

IdentityBuilderExtensions

Helper functions for configuring identity services.

IdentityConstants

Represents all the options you can use to configure the cookies middleware uesd by the identity system.

IdentityCookieOptions

Represents all the options you can use to configure the cookies middleware uesd by the identity system.

IdentityError

Encapsulates an error from the identity subsystem.

IdentityErrorDescriber

Service to enable localization for application facing identity errors.

IdentityMarkerService

Used to verify AddIdentity was called on a ServiceCollection

IdentityOptions

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

IdentityResult

Represents the result of an identity operation.

IdentityRole

The default implementation of IdentityRole<TKey> which uses a string as the primary key.

IdentityRole<TKey>

Represents a role in the identity system

IdentityRoleClaim<TKey>

Represents a claim that is granted to all users within a role.

IdentityUser

The default implementation of IdentityUser<TKey> which uses a string as a primary key.

IdentityUser<TKey>

Represents a user in the identity system

IdentityUserClaim<TKey>

Represents a claim that a user possesses.

IdentityUserLogin<TKey>

Represents a login and its associated provider for a user.

IdentityUserRole<TKey>

Represents the link between a user and a role.

IdentityUserToken<TKey>

Represents an authentication token for a user.

LockoutOptions

Options for configuring user lockout.

PasswordHasher<TUser>

Implements the standard Identity password hashing.

PasswordHasherOptions

Specifies options for password hashing.

PasswordOptions

Specifies options for password requirements.

PasswordValidator<TUser>

Provides the default password policy for Identity.

PhoneNumberTokenProvider<TUser>

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

RoleManager<TRole>

Provides the APIs for managing roles in a persistence store.

RoleStoreBase<TRole,TKey,TUserRole,TRoleClaim>

Creates a new instance of a persistence store for roles.

RoleValidator<TRole>

Provides the default validation of roles.

SecurityStampRefreshingPrincipalContext

Used to pass information during the SecurityStamp validation event.

SecurityStampValidator

Static helper class used to configure a CookieAuthenticationNotifications to validate a cookie against a user's security stamp.

SecurityStampValidator<TUser>

Provides default implementation of validation functions for security stamps.

SecurityStampValidatorOptions

Options for ISecurityStampValidator.

SignInManager<TUser>

Provides the APIs for user sign in.

SignInOptions

Options for configuring sign in.

SignInResult

Represents the result of a sign-in operation.

TokenOptions

Options for user tokens.

TokenProviderDescriptor

Used to represents a token provider in TokenOptions's TokenMap.

TotpSecurityStampBasedTokenProvider<TUser>

Represents a token provider that generates time based codes using the user's security stamp.

UpperInvariantLookupNormalizer

Implements ILookupNormalizer by converting keys to their upper cased invariant culture representation.

UserClaimsPrincipalFactory<TUser>

Provides methods to create a claims principal for a given user.

UserClaimsPrincipalFactory<TUser,TRole>

Provides methods to create a claims principal for a given user.

UserLoginInfo

Represents login information and source for a user record.

UserManager<TUser>

Provides the APIs for managing user in a persistence store.

UserOptions

Options for user validation.

UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>

Represents a new instance of a persistence store for the specified user type.

UserStoreBase<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>

Represents a new instance of a persistence store for the specified user and role types.

UserValidator<TUser>

Provides validation services for user classes.

Interfaces

ILookupNormalizer

Provides an abstraction for normalizing keys for lookup purposes.

IPasswordHasher<TUser>

Provides an abstraction for hashing passwords.

IPasswordValidator<TUser>

Provides an abstraction for validating passwords.

IQueryableRoleStore<TRole>

Provides an abstraction for querying roles in a Role store.

IQueryableUserStore<TUser>

Provides an abstraction for querying users in a User store.

IRoleClaimStore<TRole>

Provides an abstraction for a store of role specific claims.

IRoleStore<TRole>

Provides an abstraction for a storage and management of roles.

IRoleValidator<TRole>

Provides an abstraction for a validating a role.

ISecurityStampValidator

Provides an abstraction for a validating a security stamp of an incoming identity, and regenerating or rejecting the identity based on the validation result.

IUserAuthenticationTokenStore<TUser>

Provides an abstraction to store a user's authentication tokens.

IUserAuthenticatorKeyStore<TUser>

Provides an abstraction for a store which stores info about user's authenticator.

IUserClaimsPrincipalFactory<TUser>

Provides an abstraction for a factory to create a ClaimsPrincipal from a user.

IUserClaimStore<TUser>

Provides an abstraction for a store of claims for a user.

IUserEmailStore<TUser>

Provides an abstraction for the storage and management of user email addresses.

IUserLockoutStore<TUser>

Provides an abstraction for a storing information which can be used to implement account lockout, including access failures and lockout status

IUserLoginStore<TUser>

Provides an abstraction for storing information that maps external login information provided by Microsoft Account, Facebook etc. to a user account.

IUserPasswordStore<TUser>

Provides an abstraction for a store containing users' password hashes.

IUserPhoneNumberStore<TUser>

Provides an abstraction for a store containing users' telephone numbers.

IUserRoleStore<TUser>

Provides an abstraction for a store which maps users to roles.

IUserSecurityStampStore<TUser>

Provides an abstraction for a store which stores a user's security stamp.

IUserStore<TUser>

Provides an abstraction for a store which manages user accounts.

IUserTwoFactorRecoveryCodeStore<TUser>

Provides an abstraction for a store which stores a user's recovery codes.

IUserTwoFactorStore<TUser>

Provides an abstraction to store a flag indicating whether a user has two factor authentication enabled.

IUserTwoFactorTokenProvider<TUser>

Provides an abstraction for two factor token generators.

IUserValidator<TUser>

Provides an abstraction for user validation.

Enums

PasswordHasherCompatibilityMode

Specifies the format used for hashing passwords.

PasswordVerificationResult

Specifies the results for password verification.