UserClaimsPrincipalFactory<TUser> コンストラクター

定義

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

public:
 UserClaimsPrincipalFactory(Microsoft::AspNetCore::Identity::UserManager<TUser> ^ userManager, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Identity::IdentityOptions ^> ^ optionsAccessor);
public UserClaimsPrincipalFactory (Microsoft.AspNetCore.Identity.UserManager<TUser> userManager, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.IdentityOptions> optionsAccessor);
new Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<'User (requires 'User : null)> : Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.IdentityOptions> -> Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<'User (requires 'User : null)>
Public Sub New (userManager As UserManager(Of TUser), optionsAccessor As IOptions(Of IdentityOptions))

パラメーター

userManager
UserManager<TUser>

UserManager<TUser>ユーザー情報の取得元の 。

optionsAccessor
IOptions<IdentityOptions>

構成済みの IdentityOptions

適用対象