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 |
存放區包含之使用者的導覽屬性。 |