Dela via


UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken> Class

Definition

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

generic <typename TUser, typename TRole, typename TContext, typename TKey, typename TUserClaim, typename TUserRole, typename TUserLogin, typename TUserToken>
 where TUser : IdentityUser<TKey, TUserClaim, TUserRole, TUserLogin> where TRole : IdentityRole<TKey, TUserRole, IdentityRoleClaim<TKey> ^> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey> where TUserRole : IdentityUserRole<TKey> where TUserLogin : IdentityUserLogin<TKey> where TUserToken : IdentityUserToken<TKey>public ref class UserStore abstract : IDisposable, Microsoft::AspNetCore::Identity::IQueryableUserStore<TUser>, Microsoft::AspNetCore::Identity::IUserAuthenticationTokenStore<TUser>, Microsoft::AspNetCore::Identity::IUserClaimStore<TUser>, Microsoft::AspNetCore::Identity::IUserEmailStore<TUser>, Microsoft::AspNetCore::Identity::IUserLockoutStore<TUser>, Microsoft::AspNetCore::Identity::IUserLoginStore<TUser>, Microsoft::AspNetCore::Identity::IUserPasswordStore<TUser>, Microsoft::AspNetCore::Identity::IUserPhoneNumberStore<TUser>, Microsoft::AspNetCore::Identity::IUserRoleStore<TUser>, Microsoft::AspNetCore::Identity::IUserSecurityStampStore<TUser>, Microsoft::AspNetCore::Identity::IUserStore<TUser>, Microsoft::AspNetCore::Identity::IUserTwoFactorStore<TUser>
generic <typename TUser, typename TRole, typename TContext, typename TKey, typename TUserClaim, typename TUserRole, typename TUserLogin, typename TUserToken>
 where TUser : IdentityUser<TKey, TUserClaim, TUserRole, TUserLogin> where TRole : IdentityRole<TKey, TUserRole, IdentityRoleClaim<TKey> ^> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey> where TUserRole : IdentityUserRole<TKey> where TUserLogin : IdentityUserLogin<TKey> where TUserToken : IdentityUserToken<TKey>public ref class UserStore abstract : Microsoft::AspNetCore::Identity::EntityFrameworkCore::UserStore<TUser, TRole, TContext, TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityRoleClaim<TKey> ^>
public abstract class UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken> : IDisposable, Microsoft.AspNetCore.Identity.IQueryableUserStore<TUser>, Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore<TUser>, Microsoft.AspNetCore.Identity.IUserClaimStore<TUser>, Microsoft.AspNetCore.Identity.IUserEmailStore<TUser>, Microsoft.AspNetCore.Identity.IUserLockoutStore<TUser>, Microsoft.AspNetCore.Identity.IUserLoginStore<TUser>, Microsoft.AspNetCore.Identity.IUserPasswordStore<TUser>, Microsoft.AspNetCore.Identity.IUserPhoneNumberStore<TUser>, Microsoft.AspNetCore.Identity.IUserRoleStore<TUser>, Microsoft.AspNetCore.Identity.IUserSecurityStampStore<TUser>, Microsoft.AspNetCore.Identity.IUserStore<TUser>, Microsoft.AspNetCore.Identity.IUserTwoFactorStore<TUser> where TUser : IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin> where TRole : IdentityRole<TKey,TUserRole,IdentityRoleClaim<TKey>> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey> where TUserRole : IdentityUserRole<TKey> where TUserLogin : IdentityUserLogin<TKey> where TUserToken : IdentityUserToken<TKey>
public abstract class UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<TKey>> where TUser : IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin> where TRole : IdentityRole<TKey,TUserRole,IdentityRoleClaim<TKey>> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey> where TUserRole : IdentityUserRole<TKey> where TUserLogin : IdentityUserLogin<TKey> where TUserToken : IdentityUserToken<TKey>
type UserStore<'User, 'Role, 'Context, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'UserToken (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin> and 'Role :> IdentityRole<'Key, 'UserRole, IdentityRoleClaim<'Key>> and 'Context :> DbContext and 'Key :> IEquatable<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'UserRole :> IdentityUserRole<'Key> and 'UserLogin :> IdentityUserLogin<'Key> and 'UserToken :> IdentityUserToken<'Key>)> = class
    interface IUserLoginStore<'User (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin>)>
    interface IUserStore<'User (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin>)>
    interface IDisposable
    interface IUserRoleStore<'User (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin>)>
    interface IUserClaimStore<'User (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin>)>
    interface IUserPasswordStore<'User (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin>)>
    interface IUserSecurityStampStore<'User (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin>)>
    interface IUserEmailStore<'User (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin>)>
    interface IUserLockoutStore<'User (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin>)>
    interface IUserPhoneNumberStore<'User (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin>)>
    interface IQueryableUserStore<'User (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin>)>
    interface IUserTwoFactorStore<'User (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin>)>
    interface IUserAuthenticationTokenStore<'User (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin>)>
type UserStore<'User, 'Role, 'Context, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'UserToken (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin> and 'Role :> IdentityRole<'Key, 'UserRole, IdentityRoleClaim<'Key>> and 'Context :> DbContext and 'Key :> IEquatable<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'UserRole :> IdentityUserRole<'Key> and 'UserLogin :> IdentityUserLogin<'Key> and 'UserToken :> IdentityUserToken<'Key>)> = class
    inherit UserStore<'User, 'Role, 'Context, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'UserToken, IdentityRoleClaim<'Key> (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin> and 'Role :> IdentityRole<'Key, 'UserRole, IdentityRoleClaim<'Key>> and 'Context :> DbContext and 'Key :> IEquatable<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'UserRole :> IdentityUserRole<'Key> and 'UserLogin :> IdentityUserLogin<'Key> and 'UserToken :> IdentityUserToken<'Key>)>
Public MustInherit Class UserStore(Of TUser, TRole, TContext, TKey, TUserClaim, TUserRole, TUserLogin, TUserToken)
Implements IDisposable, IQueryableUserStore(Of TUser), IUserAuthenticationTokenStore(Of TUser), IUserClaimStore(Of TUser), IUserEmailStore(Of TUser), IUserLockoutStore(Of TUser), IUserLoginStore(Of TUser), IUserPasswordStore(Of TUser), IUserPhoneNumberStore(Of TUser), IUserRoleStore(Of TUser), IUserSecurityStampStore(Of TUser), IUserStore(Of TUser), IUserTwoFactorStore(Of TUser)
Public MustInherit Class UserStore(Of TUser, TRole, TContext, TKey, TUserClaim, TUserRole, TUserLogin, TUserToken)
Inherits UserStore(Of TUser, TRole, TContext, TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, IdentityRoleClaim(Of TKey))

Type Parameters

TUser

The type representing a user.

TRole

The type representing a role.

TContext

The type of the data context class used to access the store.

TKey

The type of the primary key for a role.

TUserClaim

The type representing a claim.

TUserRole

The type representing a user role.

TUserLogin

The type representing a user external login.

TUserToken

The type representing a user token.

Inheritance
UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken>
Inheritance
UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,IdentityRoleClaim<TKey>>
UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken>
Implements

Constructors

UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken>(TContext, IdentityErrorDescriber)

Creates a new instance of UserStore.

Properties

AutoSaveChanges

Gets or sets a flag indicating if changes should be persisted after CreateAsync, UpdateAsync and DeleteAsync are called.

AutoSaveChanges

Gets or sets a flag indicating if changes should be persisted after CreateAsync, UpdateAsync and DeleteAsync are called.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
Context

Gets the database context for this store.

Context

Gets the database context for this store.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
ErrorDescriber

Gets or sets the IdentityErrorDescriber for any error that occurred with the current operation.

ErrorDescriber

Gets or sets the IdentityErrorDescriber for any error that occurred with the current operation.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
Users

A navigation property for the users the store contains.

Users

A navigation property for the users the store contains.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)

Methods

AddClaimsAsync(TUser, IEnumerable<Claim>, CancellationToken)

Adds the claims given to the specified user.

AddClaimsAsync(TUser, IEnumerable<Claim>, CancellationToken)

Adds the claims given to the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
AddLoginAsync(TUser, UserLoginInfo, CancellationToken)

Adds the login given to the specified user.

AddLoginAsync(TUser, UserLoginInfo, CancellationToken)

Adds the login given to the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
AddToRoleAsync(TUser, String, CancellationToken)

Adds the given normalizedRoleName to the specified user.

AddToRoleAsync(TUser, String, CancellationToken)

Adds the given normalizedRoleName to the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
AddUserTokenAsync(TUserToken)

Add a new user token.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
ConvertIdFromString(String)

Converts the provided id to a strongly typed key object.

ConvertIdFromString(String)

Converts the provided id to a strongly typed key object.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
ConvertIdToString(TKey)

Converts the provided id to its string representation.

ConvertIdToString(TKey)

Converts the provided id to its string representation.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
CreateAsync(TUser, CancellationToken)

Creates the specified user in the user store.

CreateAsync(TUser, CancellationToken)

Creates the specified user in the user store.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
CreateUserClaim(TUser, Claim)

Create a new entity representing a user claim.

CreateUserClaim(TUser, Claim)

Create a new entity representing a user claim.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
CreateUserLogin(TUser, UserLoginInfo)

Create a new entity representing a user login.

CreateUserLogin(TUser, UserLoginInfo)

Create a new entity representing a user login.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
CreateUserRole(TUser, TRole)

Creates a new entity to represent a user role.

CreateUserRole(TUser, TRole)

Creates a new entity to represent a user role.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
CreateUserToken(TUser, String, String, String)

Create a new entity representing a user token.

CreateUserToken(TUser, String, String, String)

Create a new entity representing a user token.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
DeleteAsync(TUser, CancellationToken)

Deletes the specified user from the user store.

DeleteAsync(TUser, CancellationToken)

Deletes the specified user from the user store.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
Dispose()

Dispose the store

Dispose()

Dispose the store

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
FindByEmailAsync(String, CancellationToken)

Gets the user, if any, associated with the specified, normalized email address.

FindByEmailAsync(String, CancellationToken)

Gets the user, if any, associated with the specified, normalized email address.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
FindByIdAsync(String, CancellationToken)

Finds and returns a user, if any, who has the specified userId.

FindByIdAsync(String, CancellationToken)

Finds and returns a user, if any, who has the specified userId.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
FindByLoginAsync(String, String, CancellationToken)

Retrieves the user associated with the specified login provider and login provider key..

FindByLoginAsync(String, String, CancellationToken)

Retrieves the user associated with the specified login provider and login provider key.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
FindByNameAsync(String, CancellationToken)

Finds and returns a user, if any, who has the specified normalized user name.

FindByNameAsync(String, CancellationToken)

Finds and returns a user, if any, who has the specified normalized user name.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
FindRoleAsync(String, CancellationToken)

Return a role with the normalized name if it exists.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
FindTokenAsync(TUser, String, String, CancellationToken)

Find a user token if it exists.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
FindUserAsync(TKey, CancellationToken)

Return a user with the matching userId if it exists.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
FindUserLoginAsync(String, String, CancellationToken)

Return a user login with provider, providerKey if it exists.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
FindUserLoginAsync(TKey, String, String, CancellationToken)

Return a user login with the matching userId, provider, providerKey if it exists.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
FindUserRoleAsync(TKey, TKey, CancellationToken)

Return a user role for the userId and roleId if it exists.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetAccessFailedCountAsync(TUser, CancellationToken)

Retrieves the current failed access count for the specified user..

GetAccessFailedCountAsync(TUser, CancellationToken)

Retrieves the current failed access count for the specified user..

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetClaimsAsync(TUser, CancellationToken)

Get the claims associated with the specified user as an asynchronous operation.

GetClaimsAsync(TUser, CancellationToken)

Get the claims associated with the specified user as an asynchronous operation.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetEmailAsync(TUser, CancellationToken)

Gets the email address for the specified user.

GetEmailAsync(TUser, CancellationToken)

Gets the email address for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetEmailConfirmedAsync(TUser, CancellationToken)

Gets a flag indicating whether the email address for the specified user has been verified, true if the email address is verified otherwise false.

GetEmailConfirmedAsync(TUser, CancellationToken)

Gets a flag indicating whether the email address for the specified user has been verified, true if the email address is verified otherwise false.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetLockoutEnabledAsync(TUser, CancellationToken)

Retrieves a flag indicating whether user lockout can enabled for the specified user.

GetLockoutEnabledAsync(TUser, CancellationToken)

Retrieves a flag indicating whether user lockout can enabled for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetLockoutEndDateAsync(TUser, CancellationToken)

Gets the last DateTimeOffset a user's last lockout expired, if any. Any time in the past should be indicates a user is not locked out.

GetLockoutEndDateAsync(TUser, CancellationToken)

Gets the last DateTimeOffset a user's last lockout expired, if any. Any time in the past should be indicates a user is not locked out.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetLoginsAsync(TUser, CancellationToken)

Retrieves the associated logins for the specified .

GetLoginsAsync(TUser, CancellationToken)

Retrieves the associated logins for the specified .

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetNormalizedEmailAsync(TUser, CancellationToken)

Returns the normalized email for the specified user.

GetNormalizedEmailAsync(TUser, CancellationToken)

Returns the normalized email for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetNormalizedUserNameAsync(TUser, CancellationToken)

Gets the normalized user name for the specified user.

GetNormalizedUserNameAsync(TUser, CancellationToken)

Gets the normalized user name for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetPasswordHashAsync(TUser, CancellationToken)

Gets the password hash for a user.

GetPasswordHashAsync(TUser, CancellationToken)

Gets the password hash for a user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetPhoneNumberAsync(TUser, CancellationToken)

Gets the telephone number, if any, for the specified user.

GetPhoneNumberAsync(TUser, CancellationToken)

Gets the telephone number, if any, for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetPhoneNumberConfirmedAsync(TUser, CancellationToken)

Gets a flag indicating whether the specified user's telephone number has been confirmed.

GetPhoneNumberConfirmedAsync(TUser, CancellationToken)

Gets a flag indicating whether the specified user's telephone number has been confirmed.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetRolesAsync(TUser, CancellationToken)

Retrieves the roles the specified user is a member of.

GetRolesAsync(TUser, CancellationToken)

Retrieves the roles the specified user is a member of.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetSecurityStampAsync(TUser, CancellationToken)

Get the security stamp for the specified user.

GetSecurityStampAsync(TUser, CancellationToken)

Get the security stamp for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetTokenAsync(TUser, String, String, CancellationToken)
GetTokenAsync(TUser, String, String, CancellationToken)

Returns the token value.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetTwoFactorEnabledAsync(TUser, CancellationToken)

Returns a flag indicating whether the specified user has two factor authentication enabled or not, as an asynchronous operation.

GetTwoFactorEnabledAsync(TUser, CancellationToken)

Returns a flag indicating whether the specified user has two factor authentication enabled or not, as an asynchronous operation.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetUserIdAsync(TUser, CancellationToken)

Gets the user identifier for the specified user.

GetUserIdAsync(TUser, CancellationToken)

Gets the user identifier for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetUserNameAsync(TUser, CancellationToken)

Gets the user name for the specified user.

GetUserNameAsync(TUser, CancellationToken)

Gets the user name for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetUsersForClaimAsync(Claim, CancellationToken)

Retrieves all users with the specified claim.

GetUsersForClaimAsync(Claim, CancellationToken)

Retrieves all users with the specified claim.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
GetUsersInRoleAsync(String, CancellationToken)

Retrieves all users in the specified role.

GetUsersInRoleAsync(String, CancellationToken)

Retrieves all users in the specified role.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
HasPasswordAsync(TUser, CancellationToken)

Returns a flag indicating if the specified user has a password.

HasPasswordAsync(TUser, CancellationToken)

Returns a flag indicating if the specified user has a password.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
IncrementAccessFailedCountAsync(TUser, CancellationToken)

Records that a failed access has occurred, incrementing the failed access count.

IncrementAccessFailedCountAsync(TUser, CancellationToken)

Records that a failed access has occurred, incrementing the failed access count.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
IsInRoleAsync(TUser, String, CancellationToken)

Returns a flag indicating if the specified user is a member of the give normalizedRoleName.

IsInRoleAsync(TUser, String, CancellationToken)

Returns a flag indicating if the specified user is a member of the give normalizedRoleName.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
RemoveClaimsAsync(TUser, IEnumerable<Claim>, CancellationToken)

Removes the claims given from the specified user.

RemoveClaimsAsync(TUser, IEnumerable<Claim>, CancellationToken)

Removes the claims given from the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
RemoveFromRoleAsync(TUser, String, CancellationToken)

Removes the given normalizedRoleName from the specified user.

RemoveFromRoleAsync(TUser, String, CancellationToken)

Removes the given normalizedRoleName from the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
RemoveLoginAsync(TUser, String, String, CancellationToken)

Removes the loginProvider given from the specified user.

RemoveLoginAsync(TUser, String, String, CancellationToken)

Removes the loginProvider given from the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
RemoveTokenAsync(TUser, String, String, CancellationToken)
RemoveTokenAsync(TUser, String, String, CancellationToken)

Deletes a token for a user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
RemoveUserTokenAsync(TUserToken)

Remove a new user token.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
ReplaceClaimAsync(TUser, Claim, Claim, CancellationToken)

Replaces the claim on the specified user, with the newClaim.

ReplaceClaimAsync(TUser, Claim, Claim, CancellationToken)

Replaces the claim on the specified user, with the newClaim.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
ResetAccessFailedCountAsync(TUser, CancellationToken)

Resets a user's failed access count.

ResetAccessFailedCountAsync(TUser, CancellationToken)

Resets a user's failed access count.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SaveChanges(CancellationToken)

Saves the current store.

SaveChanges(CancellationToken)

Saves the current store.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetEmailAsync(TUser, String, CancellationToken)

Sets the email address for a user.

SetEmailAsync(TUser, String, CancellationToken)

Sets the email address for a user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetEmailConfirmedAsync(TUser, Boolean, CancellationToken)

Sets the flag indicating whether the specified user's email address has been confirmed or not.

SetEmailConfirmedAsync(TUser, Boolean, CancellationToken)

Sets the flag indicating whether the specified user's email address has been confirmed or not.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetLockoutEnabledAsync(TUser, Boolean, CancellationToken)

Set the flag indicating if the specified user can be locked out..

SetLockoutEnabledAsync(TUser, Boolean, CancellationToken)

Set the flag indicating if the specified user can be locked out..

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetLockoutEndDateAsync(TUser, Nullable<DateTimeOffset>, CancellationToken)

Locks out a user until the specified end date has passed. Setting a end date in the past immediately unlocks a user.

SetLockoutEndDateAsync(TUser, Nullable<DateTimeOffset>, CancellationToken)

Locks out a user until the specified end date has passed. Setting a end date in the past immediately unlocks a user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetNormalizedEmailAsync(TUser, String, CancellationToken)

Sets the normalized email for the specified user.

SetNormalizedEmailAsync(TUser, String, CancellationToken)

Sets the normalized email for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetNormalizedUserNameAsync(TUser, String, CancellationToken)

Sets the given normalized name for the specified user.

SetNormalizedUserNameAsync(TUser, String, CancellationToken)

Sets the given normalized name for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetPasswordHashAsync(TUser, String, CancellationToken)

Sets the password hash for a user.

SetPasswordHashAsync(TUser, String, CancellationToken)

Sets the password hash for a user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetPhoneNumberAsync(TUser, String, CancellationToken)

Sets the telephone number for the specified user.

SetPhoneNumberAsync(TUser, String, CancellationToken)

Sets the telephone number for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetPhoneNumberConfirmedAsync(TUser, Boolean, CancellationToken)

Sets a flag indicating if the specified user's phone number has been confirmed..

SetPhoneNumberConfirmedAsync(TUser, Boolean, CancellationToken)

Sets a flag indicating if the specified user's phone number has been confirmed..

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetSecurityStampAsync(TUser, String, CancellationToken)

Sets the provided security stamp for the specified user.

SetSecurityStampAsync(TUser, String, CancellationToken)

Sets the provided security stamp for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetTokenAsync(TUser, String, String, String, CancellationToken)
SetTokenAsync(TUser, String, String, String, CancellationToken)

Sets the token value for a particular user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetTwoFactorEnabledAsync(TUser, Boolean, CancellationToken)

Sets a flag indicating whether the specified user has two factor authentication enabled or not, as an asynchronous operation.

SetTwoFactorEnabledAsync(TUser, Boolean, CancellationToken)

Sets a flag indicating whether the specified user has two factor authentication enabled or not, as an asynchronous operation.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
SetUserNameAsync(TUser, String, CancellationToken)

Sets the given userName for the specified user.

SetUserNameAsync(TUser, String, CancellationToken)

Sets the given userName for the specified user.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
ThrowIfDisposed()
ThrowIfDisposed()

Throws if this class has been disposed.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)
UpdateAsync(TUser, CancellationToken)

Updates the specified user in the user store.

UpdateAsync(TUser, CancellationToken)

Updates the specified user in the user store.

(Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>)

Applies to