다음을 통해 공유


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> 클래스의 새 인스턴스를 초기화합니다.

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

UserClaimsPrincipalFactory<TUser,TRole> 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

userManager
UserManager<TUser>

UserManager<TUser> 사용자 정보를 검색할 입니다.

roleManager
RoleManager<TRole>

RoleManager<TRole> 사용자의 역할을 검색할 입니다.

optionsAccessor
IOptions<IdentityOptions>

구성된 IdentityOptions.

적용 대상

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

Source:
UserClaimsPrincipalFactory.cs
Source:
UserClaimsPrincipalFactory.cs
Source:
UserClaimsPrincipalFactory.cs
Source:
UserClaimsPrincipalFactory.cs
Source:
UserClaimsPrincipalFactory.cs
Source:
UserClaimsPrincipalFactory.cs
Source:
UserClaimsPrincipalFactory.cs
Source:
UserClaimsPrincipalFactory.cs
Source:
UserClaimsPrincipalFactory.cs

UserClaimsPrincipalFactory<TUser,TRole> 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

userManager
UserManager<TUser>

UserManager<TUser> 사용자 정보를 검색할 입니다.

roleManager
RoleManager<TRole>

RoleManager<TRole> 사용자의 역할을 검색할 입니다.

적용 대상