UserClaimsPrincipalFactory<TUser,TRole> クラス

定義

特定のユーザーのクレーム プリンシパルを作成するメソッドを提供します。

generic <typename TUser, typename TRole>
 where TUser : class where TRole : classpublic ref class UserClaimsPrincipalFactory : Microsoft::AspNetCore::Identity::IUserClaimsPrincipalFactory<TUser>
generic <typename TUser, typename TRole>
 where TUser : class where TRole : classpublic ref class UserClaimsPrincipalFactory : Microsoft::AspNetCore::Identity::UserClaimsPrincipalFactory<TUser>
public class UserClaimsPrincipalFactory<TUser,TRole> : Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory<TUser> where TUser : class where TRole : class
public class UserClaimsPrincipalFactory<TUser,TRole> : Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<TUser> where TUser : class where TRole : class
type UserClaimsPrincipalFactory<'User, 'Role (requires 'User : null and 'Role : null)> = class
    interface IUserClaimsPrincipalFactory<'User (requires 'User : null)>
type UserClaimsPrincipalFactory<'User, 'Role (requires 'User : null and 'Role : null)> = class
    inherit UserClaimsPrincipalFactory<'User (requires 'User : null)>
Public Class UserClaimsPrincipalFactory(Of TUser, TRole)
Implements IUserClaimsPrincipalFactory(Of TUser)
Public Class UserClaimsPrincipalFactory(Of TUser, TRole)
Inherits UserClaimsPrincipalFactory(Of TUser)

型パラメーター

TUser

ユーザーを表すために使用される型。

TRole

ロールを表すために使用される型。

継承
UserClaimsPrincipalFactory<TUser,TRole>
継承
UserClaimsPrincipalFactory<TUser,TRole>
実装

コンストラクター

UserClaimsPrincipalFactory<TUser,TRole>(UserManager<TUser>, RoleManager<TRole>, IOptions<IdentityOptions>)

UserClaimsPrincipalFactory<TUser,TRole> クラスの新しいインスタンスを初期化します。

UserClaimsPrincipalFactory<TUser,TRole>(UserManager<TUser>, RoleManager<TRole>, IOptions<IdentityOptions>)

UserClaimsPrincipalFactory<TUser,TRole> クラスの新しいインスタンスを初期化します。

プロパティ

Options

このファクトリの を IdentityOptions 取得します。

Options

このファクトリの を IdentityOptions 取得します。

(継承元 UserClaimsPrincipalFactory<TUser>)
RoleManager

このファクトリの を RoleManager<TRole> 取得します。

UserManager

このファクトリの を UserManager<TUser> 取得します。

UserManager

このファクトリの を UserManager<TUser> 取得します。

(継承元 UserClaimsPrincipalFactory<TUser>)

メソッド

CreateAsync(TUser)

ClaimsPrincipalユーザーから を非同期的に作成します。

CreateAsync(TUser)

ClaimsPrincipalユーザーから を非同期的に作成します。

(継承元 UserClaimsPrincipalFactory<TUser>)
GenerateClaimsAsync(TUser)

ユーザーの要求を生成します。

適用対象