UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示指定用户类型的持久性存储的新实例。
generic <typename TUser, typename TKey, typename TUserClaim, typename TUserLogin, typename TUserToken>
where TUser : IdentityUser<TKey> where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey>gcnew() where TUserLogin : IdentityUserLogin<TKey>gcnew() where TUserToken : IdentityUserToken<TKey>gcnew()public ref class UserStoreBase abstract : 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>
public abstract class 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 TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey>, new() where TUserLogin : IdentityUserLogin<TKey>, new() where TUserToken : IdentityUserToken<TKey>, new()
type 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))> = class
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>)>
Public MustInherit Class 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)
类型参数
- TUser
表示用户的类型。
- TKey
用户的主键的类型。
- TUserClaim
表示声明的类型。
- TUserLogin
表示用户外部登录名的类型。
- TUserToken
表示用户令牌的类型。
- 继承
-
UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>
- 派生
- 实现
-
IQueryableUserStore<TUser> IUserAuthenticationTokenStore<TUser> IUserAuthenticatorKeyStore<TUser> IUserClaimStore<TUser> IUserEmailStore<TUser> IUserLockoutStore<TUser> IUserLoginStore<TUser> IUserPasswordStore<TUser> IUserPhoneNumberStore<TUser> IUserSecurityStampStore<TUser> IUserStore<TUser> IUserTwoFactorRecoveryCodeStore<TUser> IUserTwoFactorStore<TUser> IDisposable
构造函数
UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>(IdentityErrorDescriber) |
创建新实例。 |
属性
ErrorDescriber |
获取或设置 IdentityErrorDescriber 当前操作发生的任何错误的 。 |
Users |
应用商店包含的用户的导航属性。 |