UserOnlyStore<TUser,TContext,TKey,TUserClaim,TUserLogin,TUserToken> 类

定义

表示指定用户和角色类型的持久性存储的新实例。

generic <typename TUser, typename TContext, typename TKey, typename TUserClaim, typename TUserLogin, typename TUserToken>
 where TUser : IdentityUser<TKey> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey>gcnew() where TUserLogin : IdentityUserLogin<TKey>gcnew() where TUserToken : IdentityUserToken<TKey>gcnew()public ref class UserOnlyStore : Microsoft::AspNetCore::Identity::UserStoreBase<TUser, TKey, TUserClaim, TUserLogin, TUserToken>, IDisposable, Microsoft::AspNetCore::Identity::IQueryableUserStore<TUser>, Microsoft::AspNetCore::Identity::IUserAuthenticationTokenStore<TUser>, Microsoft::AspNetCore::Identity::IUserAuthenticatorKeyStore<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::IUserSecurityStampStore<TUser>, Microsoft::AspNetCore::Identity::IUserStore<TUser>, Microsoft::AspNetCore::Identity::IUserTwoFactorRecoveryCodeStore<TUser>, Microsoft::AspNetCore::Identity::IUserTwoFactorStore<TUser>
generic <typename TUser, typename TContext, typename TKey, typename TUserClaim, typename TUserLogin, typename TUserToken>
 where TUser : IdentityUser<TKey> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey>gcnew() where TUserLogin : IdentityUserLogin<TKey>gcnew() where TUserToken : IdentityUserToken<TKey>gcnew()public ref class UserOnlyStore : Microsoft::AspNetCore::Identity::UserStoreBase<TUser, TKey, TUserClaim, TUserLogin, TUserToken>, IDisposable, Microsoft::AspNetCore::Identity::IProtectedUserStore<TUser>, Microsoft::AspNetCore::Identity::IQueryableUserStore<TUser>, Microsoft::AspNetCore::Identity::IUserAuthenticationTokenStore<TUser>, Microsoft::AspNetCore::Identity::IUserAuthenticatorKeyStore<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::IUserSecurityStampStore<TUser>, Microsoft::AspNetCore::Identity::IUserStore<TUser>, Microsoft::AspNetCore::Identity::IUserTwoFactorRecoveryCodeStore<TUser>, Microsoft::AspNetCore::Identity::IUserTwoFactorStore<TUser>
public class UserOnlyStore<TUser,TContext,TKey,TUserClaim,TUserLogin,TUserToken> : Microsoft.AspNetCore.Identity.UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>, IDisposable, Microsoft.AspNetCore.Identity.IQueryableUserStore<TUser>, Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore<TUser>, Microsoft.AspNetCore.Identity.IUserAuthenticatorKeyStore<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.IUserSecurityStampStore<TUser>, Microsoft.AspNetCore.Identity.IUserStore<TUser>, Microsoft.AspNetCore.Identity.IUserTwoFactorRecoveryCodeStore<TUser>, Microsoft.AspNetCore.Identity.IUserTwoFactorStore<TUser> where TUser : IdentityUser<TKey> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey>, new() where TUserLogin : IdentityUserLogin<TKey>, new() where TUserToken : IdentityUserToken<TKey>, new()
public class UserOnlyStore<TUser,TContext,TKey,TUserClaim,TUserLogin,TUserToken> : Microsoft.AspNetCore.Identity.UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>, IDisposable, Microsoft.AspNetCore.Identity.IProtectedUserStore<TUser>, Microsoft.AspNetCore.Identity.IQueryableUserStore<TUser>, Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore<TUser>, Microsoft.AspNetCore.Identity.IUserAuthenticatorKeyStore<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.IUserSecurityStampStore<TUser>, Microsoft.AspNetCore.Identity.IUserStore<TUser>, Microsoft.AspNetCore.Identity.IUserTwoFactorRecoveryCodeStore<TUser>, Microsoft.AspNetCore.Identity.IUserTwoFactorStore<TUser> where TUser : IdentityUser<TKey> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey>, new() where TUserLogin : IdentityUserLogin<TKey>, new() where TUserToken : IdentityUserToken<TKey>, new()
type UserOnlyStore<'User, 'Context, 'Key, 'UserClaim, 'UserLogin, 'UserToken (requires 'User :> IdentityUser<'Key> and 'Context :> DbContext and 'Key :> IEquatable<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim) and 'UserLogin :> IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserToken :> IdentityUserToken<'Key> and 'UserToken : (new : unit -> 'UserToken))> = class
    inherit UserStoreBase<'User, 'Key, 'UserClaim, 'UserLogin, 'UserToken (requires 'User :> IdentityUser<'Key> and 'Key :> IEquatable<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim) and 'UserLogin :> IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserToken :> IdentityUserToken<'Key> and 'UserToken : (new : unit -> 'UserToken))>
    interface IUserLoginStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IDisposable
    interface IUserClaimStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserPasswordStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserSecurityStampStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserEmailStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserLockoutStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserPhoneNumberStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IQueryableUserStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserTwoFactorStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserAuthenticationTokenStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserAuthenticatorKeyStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserTwoFactorRecoveryCodeStore<'User (requires 'User :> IdentityUser<'Key>)>
type UserOnlyStore<'User, 'Context, 'Key, 'UserClaim, 'UserLogin, 'UserToken (requires 'User :> IdentityUser<'Key> and 'Context :> DbContext and 'Key :> IEquatable<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim) and 'UserLogin :> IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserToken :> IdentityUserToken<'Key> and 'UserToken : (new : unit -> 'UserToken))> = class
    inherit UserStoreBase<'User, 'Key, 'UserClaim, 'UserLogin, 'UserToken (requires 'User :> IdentityUser<'Key> and 'Key :> IEquatable<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim) and 'UserLogin :> IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserToken :> IdentityUserToken<'Key> and 'UserToken : (new : unit -> 'UserToken))>
    interface IUserLoginStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IDisposable
    interface IUserClaimStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserPasswordStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserSecurityStampStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserEmailStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserLockoutStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserPhoneNumberStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IQueryableUserStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserTwoFactorStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserAuthenticationTokenStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserAuthenticatorKeyStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IUserTwoFactorRecoveryCodeStore<'User (requires 'User :> IdentityUser<'Key>)>
    interface IProtectedUserStore<'User (requires 'User :> IdentityUser<'Key>)>
Public Class UserOnlyStore(Of TUser, TContext, TKey, TUserClaim, TUserLogin, TUserToken)
Inherits UserStoreBase(Of TUser, TKey, TUserClaim, TUserLogin, TUserToken)
Implements IDisposable, IQueryableUserStore(Of TUser), IUserAuthenticationTokenStore(Of TUser), IUserAuthenticatorKeyStore(Of TUser), IUserClaimStore(Of TUser), IUserEmailStore(Of TUser), IUserLockoutStore(Of TUser), IUserLoginStore(Of TUser), IUserPasswordStore(Of TUser), IUserPhoneNumberStore(Of TUser), IUserSecurityStampStore(Of TUser), IUserStore(Of TUser), IUserTwoFactorRecoveryCodeStore(Of TUser), IUserTwoFactorStore(Of TUser)
Public Class UserOnlyStore(Of TUser, TContext, TKey, TUserClaim, TUserLogin, TUserToken)
Inherits UserStoreBase(Of TUser, TKey, TUserClaim, TUserLogin, TUserToken)
Implements IDisposable, IProtectedUserStore(Of TUser), IQueryableUserStore(Of TUser), IUserAuthenticationTokenStore(Of TUser), IUserAuthenticatorKeyStore(Of TUser), IUserClaimStore(Of TUser), IUserEmailStore(Of TUser), IUserLockoutStore(Of TUser), IUserLoginStore(Of TUser), IUserPasswordStore(Of TUser), IUserPhoneNumberStore(Of TUser), IUserSecurityStampStore(Of TUser), IUserStore(Of TUser), IUserTwoFactorRecoveryCodeStore(Of TUser), IUserTwoFactorStore(Of TUser)

类型参数

TUser

表示用户的类型。

TContext

用于访问存储的数据上下文类的类型。

TKey

角色的主键的类型。

TUserClaim

表示声明的类型。

TUserLogin

表示用户外部登录名的类型。

TUserToken

表示用户令牌的类型。

继承
UserOnlyStore<TUser,TContext,TKey,TUserClaim,TUserLogin,TUserToken>
派生
实现

构造函数

UserOnlyStore<TUser,TContext,TKey,TUserClaim,TUserLogin,TUserToken>(TContext, IdentityErrorDescriber)

创建存储的新实例。

属性

AutoSaveChanges

获取或设置一个标志,指示在调用 CreateAsync、UpdateAsync 和 DeleteAsync 后是否应保留更改。

Context

获取此存储的数据库上下文。

ErrorDescriber

获取或设置 IdentityErrorDescriber 当前操作发生的任何错误的 。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
UserClaims

用户声明的 DbSet。

UserLogins

用户登录名的 DbSet。

Users

应用商店包含的用户的导航属性。

UsersSet

用户的 DbSet。

UserTokens

用户令牌的 DbSet。

方法

AddClaimsAsync(TUser, IEnumerable<Claim>, CancellationToken)

claims将给定的 添加到指定的 user

AddLoginAsync(TUser, UserLoginInfo, CancellationToken)

login将给定的 添加到指定的 user

AddUserTokenAsync(TUserToken)

添加新的用户令牌。

AddUserTokenAsync(TUserToken)

添加新的用户令牌。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
ConvertIdFromString(String)

将提供的 id 转换为强类型键对象。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
ConvertIdToString(TKey)

将提供的 id 转换为其字符串表示形式。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
CountCodesAsync(TUser, CancellationToken)

返回对用户仍然有效的恢复代码数。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
CreateAsync(TUser, CancellationToken)

在用户存储中创建指定的 user

CreateUserClaim(TUser, Claim)

调用 以创建 的新实例 IdentityUserClaim<TKey>

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
CreateUserLogin(TUser, UserLoginInfo)

调用 以创建 的新实例 IdentityUserLogin<TKey>

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
CreateUserToken(TUser, String, String, String)

调用 以创建 的新实例 IdentityUserToken<TKey>

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
DeleteAsync(TUser, CancellationToken)

从用户存储中删除指定的 user

Dispose()

释放存储

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
FindByEmailAsync(String, CancellationToken)

获取与指定的规范化电子邮件地址关联的用户(如果有)。

FindByIdAsync(String, CancellationToken)

查找并返回具有指定 userId的用户(如果有)。

FindByLoginAsync(String, String, CancellationToken)

检索与指定的登录提供程序和登录提供程序密钥关联的用户。

FindByNameAsync(String, CancellationToken)

查找并返回具有指定规范化用户名的用户(如果有)。

FindTokenAsync(TUser, String, String, CancellationToken)

查找用户令牌(如果存在)。

FindUserAsync(TKey, CancellationToken)

返回具有匹配 userId 的用户(如果存在)。

FindUserAsync(TKey, CancellationToken)

返回具有匹配 userId 的用户(如果存在)。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
FindUserLoginAsync(String, String, CancellationToken)

使用 provider 返回用户登录名,如果存在,则返回 providerKey。

FindUserLoginAsync(TKey, String, String, CancellationToken)

返回具有匹配 userId、provider、providerKey(如果存在)的用户登录名。

FindUserLoginAsync(TKey, String, String, CancellationToken)

返回具有匹配 userId、provider、providerKey(如果存在)的用户登录名。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetAccessFailedCountAsync(TUser, CancellationToken)

检索指定 user的当前失败访问计数。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetAuthenticatorKeyAsync(TUser, CancellationToken)

获取指定 user的验证器密钥。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetClaimsAsync(TUser, CancellationToken)

获取与指定 user 为异步操作的 关联的声明。

GetEmailAsync(TUser, CancellationToken)

获取指定 user的电子邮件地址。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetEmailConfirmedAsync(TUser, CancellationToken)

获取一个标志,指示指定 user 的电子邮件地址是否已验证;如果电子邮件地址被验证为 false,则为 true。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetLockoutEnabledAsync(TUser, CancellationToken)

检索指示是否可以为指定用户启用用户锁定的标志。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetLockoutEndDateAsync(TUser, CancellationToken)

获取用户最后 DateTimeOffset 一次锁定过期(如果有)。 过去的任何时间都应指示用户未锁定。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetLoginsAsync(TUser, CancellationToken)

检索指定 的关联登录名。

GetNormalizedEmailAsync(TUser, CancellationToken)

返回指定 user的规范化电子邮件。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetNormalizedUserNameAsync(TUser, CancellationToken)

获取指定 user的规范化用户名。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetPasswordHashAsync(TUser, CancellationToken)

获取用户的密码哈希。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetPhoneNumberAsync(TUser, CancellationToken)

获取指定 user的电话号码(如果有)。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetPhoneNumberConfirmedAsync(TUser, CancellationToken)

获取一个标志,指示是否已确认指定的 user电话号码。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetSecurityStampAsync(TUser, CancellationToken)

获取指定 user的安全标记。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetTokenAsync(TUser, String, String, CancellationToken)

返回令牌值。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetTwoFactorEnabledAsync(TUser, CancellationToken)

返回一个标志,指示指定的 user 是否启用双重身份验证,作为异步操作。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetUserIdAsync(TUser, CancellationToken)

获取指定 user的用户标识符。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetUserNameAsync(TUser, CancellationToken)

获取指定 user的用户名。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
GetUsersForClaimAsync(Claim, CancellationToken)

检索具有指定声明的所有用户。

HasPasswordAsync(TUser, CancellationToken)

返回一个标志,指示指定用户是否具有密码。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
IncrementAccessFailedCountAsync(TUser, CancellationToken)

记录发生失败的访问,并递增失败的访问计数。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
RedeemCodeAsync(TUser, String, CancellationToken)

返回恢复代码是否对用户有效。 注意:恢复代码仅有效一次,使用后将无效。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
RemoveClaimsAsync(TUser, IEnumerable<Claim>, CancellationToken)

claims从指定的 user中移除给定的 。

RemoveLoginAsync(TUser, String, String, CancellationToken)

loginProvider从指定的 user中移除给定的 。

RemoveTokenAsync(TUser, String, String, CancellationToken)

删除用户的令牌。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
RemoveUserTokenAsync(TUserToken)

删除新的用户令牌。

RemoveUserTokenAsync(TUserToken)

删除新的用户令牌。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
ReplaceClaimAsync(TUser, Claim, Claim, CancellationToken)

claim 指定 user上的 替换为 newClaim

ReplaceCodesAsync(TUser, IEnumerable<String>, CancellationToken)

汇报用户的恢复代码,同时使以前的任何恢复代码失效。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
ResetAccessFailedCountAsync(TUser, CancellationToken)

重置用户的失败访问计数。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SaveChanges(CancellationToken)

保存当前存储。

SetAuthenticatorKeyAsync(TUser, String, CancellationToken)

为指定的 user设置验证器密钥。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetEmailAsync(TUser, String, CancellationToken)

设置 emailuser地址。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetEmailConfirmedAsync(TUser, Boolean, CancellationToken)

设置指示指定的电子邮件地址是否已 user确认的标志。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetLockoutEnabledAsync(TUser, Boolean, CancellationToken)

设置指示是否可以锁定指定的 user 的标志。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetLockoutEndDateAsync(TUser, Nullable<DateTimeOffset>, CancellationToken)

锁定用户,直到指定的结束日期过去。 设置过去的结束日期会立即解锁用户。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetNormalizedEmailAsync(TUser, String, CancellationToken)

为指定的 user设置规范化电子邮件。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetNormalizedUserNameAsync(TUser, String, CancellationToken)

为指定的 user设置给定的规范化名称。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetPasswordHashAsync(TUser, String, CancellationToken)

设置用户的密码哈希。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetPhoneNumberAsync(TUser, String, CancellationToken)

设置指定 user的电话号码。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetPhoneNumberConfirmedAsync(TUser, Boolean, CancellationToken)

设置一个标志,指示指定的 user电话号码是否已确认。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetSecurityStampAsync(TUser, String, CancellationToken)

为指定的 user设置提供的安全性stamp

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetTokenAsync(TUser, String, String, String, CancellationToken)

设置特定用户的令牌值。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetTwoFactorEnabledAsync(TUser, Boolean, CancellationToken)

设置一个标志,指示指定的 user 是否已启用双因素身份验证,作为异步操作。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
SetUserNameAsync(TUser, String, CancellationToken)

为指定的 user设置给定userName的 。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
ThrowIfDisposed()

如果已释放此类,则引发 。

(继承自 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
UpdateAsync(TUser, CancellationToken)

user汇报用户存储中指定的 。

适用于