UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim> クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したユーザーとロールの種類の永続化ストアの新しいインスタンスを表します。
generic <typename TUser, typename TRole, typename TContext, typename TKey, typename TUserClaim, typename TUserRole, typename TUserLogin, typename TUserToken, typename TRoleClaim>
where TUser : IdentityUser<TKey, TUserClaim, TUserRole, TUserLogin> where TRole : IdentityRole<TKey, TUserRole, TRoleClaim> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey> where TUserRole : IdentityUserRole<TKey> where TUserLogin : IdentityUserLogin<TKey> where TUserToken : IdentityUserToken<TKey> where TRoleClaim : IdentityRoleClaim<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, typename TRoleClaim>
where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey>gcnew() where TUserRole : IdentityUserRole<TKey>gcnew() where TUserLogin : IdentityUserLogin<TKey>gcnew() where TUserToken : IdentityUserToken<TKey>gcnew() where TRoleClaim : IdentityRoleClaim<TKey>gcnew()public ref class UserStore : Microsoft::AspNetCore::Identity::UserStoreBase<TUser, TRole, TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, TRoleClaim>
generic <typename TUser, typename TRole, typename TContext, typename TKey, typename TUserClaim, typename TUserRole, typename TUserLogin, typename TUserToken, typename TRoleClaim>
where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey>gcnew() where TUserRole : IdentityUserRole<TKey>gcnew() where TUserLogin : IdentityUserLogin<TKey>gcnew() where TUserToken : IdentityUserToken<TKey>gcnew() where TRoleClaim : IdentityRoleClaim<TKey>gcnew()public ref class UserStore : Microsoft::AspNetCore::Identity::UserStoreBase<TUser, TRole, TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, TRoleClaim>, IDisposable, Microsoft::AspNetCore::Identity::IProtectedUserStore<TUser>, Microsoft::AspNetCore::Identity::IUserStore<TUser>
public abstract class UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim> : 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,TRoleClaim> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey> where TUserRole : IdentityUserRole<TKey> where TUserLogin : IdentityUserLogin<TKey> where TUserToken : IdentityUserToken<TKey> where TRoleClaim : IdentityRoleClaim<TKey>
public class UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim> : Microsoft.AspNetCore.Identity.UserStoreBase<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim> where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey>, new() where TUserRole : IdentityUserRole<TKey>, new() where TUserLogin : IdentityUserLogin<TKey>, new() where TUserToken : IdentityUserToken<TKey>, new() where TRoleClaim : IdentityRoleClaim<TKey>, new()
public class UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim> : Microsoft.AspNetCore.Identity.UserStoreBase<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>, IDisposable, Microsoft.AspNetCore.Identity.IProtectedUserStore<TUser>, Microsoft.AspNetCore.Identity.IUserStore<TUser> where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TContext : DbContext where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey>, new() where TUserRole : IdentityUserRole<TKey>, new() where TUserLogin : IdentityUserLogin<TKey>, new() where TUserToken : IdentityUserToken<TKey>, new() where TRoleClaim : IdentityRoleClaim<TKey>, new()
type UserStore<'User, 'Role, 'Context, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'UserToken, 'RoleClaim (requires 'User :> IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin> and 'Role :> IdentityRole<'Key, 'UserRole, 'RoleClaim> and 'Context :> DbContext and 'Key :> IEquatable<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'UserRole :> IdentityUserRole<'Key> and 'UserLogin :> IdentityUserLogin<'Key> and 'UserToken :> IdentityUserToken<'Key> and 'RoleClaim :> IdentityRoleClaim<'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, 'RoleClaim (requires 'User :> IdentityUser<'Key> and 'Role :> IdentityRole<'Key> and 'Context :> DbContext and 'Key :> IEquatable<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim) and 'UserRole :> IdentityUserRole<'Key> and 'UserRole : (new : unit -> 'UserRole) and 'UserLogin :> IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserToken :> IdentityUserToken<'Key> and 'UserToken : (new : unit -> 'UserToken) and 'RoleClaim :> IdentityRoleClaim<'Key> and 'RoleClaim : (new : unit -> 'RoleClaim))> = class
inherit UserStoreBase<'User, 'Role, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'UserToken, 'RoleClaim (requires 'User :> IdentityUser<'Key> and 'Role :> IdentityRole<'Key> and 'Key :> IEquatable<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim) and 'UserRole :> IdentityUserRole<'Key> and 'UserRole : (new : unit -> 'UserRole) and 'UserLogin :> IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserToken :> IdentityUserToken<'Key> and 'UserToken : (new : unit -> 'UserToken) and 'RoleClaim :> IdentityRoleClaim<'Key> and 'RoleClaim : (new : unit -> 'RoleClaim))>
type UserStore<'User, 'Role, 'Context, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'UserToken, 'RoleClaim (requires 'User :> IdentityUser<'Key> and 'Role :> IdentityRole<'Key> and 'Context :> DbContext and 'Key :> IEquatable<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim) and 'UserRole :> IdentityUserRole<'Key> and 'UserRole : (new : unit -> 'UserRole) and 'UserLogin :> IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserToken :> IdentityUserToken<'Key> and 'UserToken : (new : unit -> 'UserToken) and 'RoleClaim :> IdentityRoleClaim<'Key> and 'RoleClaim : (new : unit -> 'RoleClaim))> = class
inherit UserStoreBase<'User, 'Role, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'UserToken, 'RoleClaim (requires 'User :> IdentityUser<'Key> and 'Role :> IdentityRole<'Key> and 'Key :> IEquatable<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim) and 'UserRole :> IdentityUserRole<'Key> and 'UserRole : (new : unit -> 'UserRole) and 'UserLogin :> IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserToken :> IdentityUserToken<'Key> and 'UserToken : (new : unit -> 'UserToken) and 'RoleClaim :> IdentityRoleClaim<'Key> and 'RoleClaim : (new : unit -> 'RoleClaim))>
interface IProtectedUserStore<'User (requires 'User :> IdentityUser<'Key>)>
interface IUserStore<'User (requires 'User :> IdentityUser<'Key>)>
interface IDisposable
Public MustInherit Class UserStore(Of TUser, TRole, TContext, TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, TRoleClaim)
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 Class UserStore(Of TUser, TRole, TContext, TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, TRoleClaim)
Inherits UserStoreBase(Of TUser, TRole, TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, TRoleClaim)
Public Class UserStore(Of TUser, TRole, TContext, TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, TRoleClaim)
Inherits UserStoreBase(Of TUser, TRole, TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, TRoleClaim)
Implements IDisposable, IProtectedUserStore(Of TUser), IUserStore(Of TUser)
型パラメーター
- TUser
ユーザーを表す型。
- TRole
ロールを表す型。
- TContext
ストアへのアクセスに使用されるデータ コンテキスト クラスの型。
- TKey
ロールの主キーの種類。
- TUserClaim
要求を表す型。
- TUserRole
ユーザー ロールを表す型。
- TUserLogin
ユーザー外部ログインを表す型。
- TUserToken
ユーザー トークンを表す型。
- TRoleClaim
ロール要求を表す型。
- 継承
-
UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>
- 継承
-
UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>
- 派生
- 実装
-
IQueryableUserStore<TUser> IUserAuthenticationTokenStore<TUser> IUserClaimStore<TUser> IUserEmailStore<TUser> IUserLockoutStore<TUser> IUserLoginStore<TUser> IUserPasswordStore<TUser> IUserPhoneNumberStore<TUser> IUserRoleStore<TUser> IUserSecurityStampStore<TUser> IUserStore<TUser> IUserTwoFactorStore<TUser> IDisposable IProtectedUserStore<TUser>
コンストラクター
UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>(TContext, IdentityErrorDescriber) |
ストアの新しいインスタンスを作成します。 |
プロパティ
AutoSaveChanges |
CreateAsync、UpdateAsync、DeleteAsync の呼び出し後に変更を永続化するかどうかを示すフラグを取得または設定します。 |
Context |
このストアのデータベース コンテキストを取得します。 |
ErrorDescriber |
現在の操作で IdentityErrorDescriber 発生したエラーの を取得または設定します。 |
ErrorDescriber |
現在の操作で IdentityErrorDescriber 発生したエラーの を取得または設定します。 (継承元 UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>) |
Users |
ストアに含まれるユーザーのナビゲーション プロパティ。 |