다음을 통해 공유


UserManager<TUser> 생성자

정의

오버로드

UserManager<TUser>(IUserStore<TUser>, IOptions<IdentityOptions>, IPasswordHasher<TUser>, IEnumerable<IUserValidator<TUser>>, IEnumerable<IPasswordValidator<TUser>>, ILookupNormalizer, IdentityErrorDescriber, IServiceProvider, ILogger<UserManager<TUser>>)

UserManager<TUser>의 새 인스턴스를 생성합니다.

UserManager<TUser>(IUserStore<TUser>, IOptions<IdentityOptions>, IPasswordHasher<TUser>, IEnumerable<IUserValidator<TUser>>, IEnumerable<IPasswordValidator<TUser>>, ILookupNormalizer, IdentityErrorDescriber, IServiceProvider, ILogger<UserManager<TUser>>)

UserManager<TUser>의 새 인스턴스를 생성합니다.

UserManager<TUser>(IUserStore<TUser>, IOptions<IdentityOptions>, IPasswordHasher<TUser>, IEnumerable<IUserValidator<TUser>>, IEnumerable<IPasswordValidator<TUser>>, ILookupNormalizer, IdentityErrorDescriber, IServiceProvider, ILogger<UserManager<TUser>>)

UserManager<TUser>의 새 인스턴스를 생성합니다.

public:
 UserManager(Microsoft::AspNetCore::Identity::IUserStore<TUser> ^ store, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IdentityOptions ^> ^ optionsAccessor, Microsoft::AspNetCore::Identity::IPasswordHasher<TUser> ^ passwordHasher, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Identity::IUserValidator<TUser> ^> ^ userValidators, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Identity::IPasswordValidator<TUser> ^> ^ passwordValidators, Microsoft::AspNetCore::Identity::ILookupNormalizer ^ keyNormalizer, Microsoft::AspNetCore::Identity::IdentityErrorDescriber ^ errors, IServiceProvider ^ services, Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Identity::UserManager<TUser> ^> ^ logger);
public UserManager (Microsoft.AspNetCore.Identity.IUserStore<TUser> store, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IdentityOptions> optionsAccessor, Microsoft.AspNetCore.Identity.IPasswordHasher<TUser> passwordHasher, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Identity.IUserValidator<TUser>> userValidators, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Identity.IPasswordValidator<TUser>> passwordValidators, Microsoft.AspNetCore.Identity.ILookupNormalizer keyNormalizer, Microsoft.AspNetCore.Identity.IdentityErrorDescriber errors, IServiceProvider services, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Identity.UserManager<TUser>> logger);
new Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> : Microsoft.AspNetCore.Identity.IUserStore<'User (requires 'User : null)> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IdentityOptions> * Microsoft.AspNetCore.Identity.IPasswordHasher<'User (requires 'User : null)> * seq<Microsoft.AspNetCore.Identity.IUserValidator<'User>> * seq<Microsoft.AspNetCore.Identity.IPasswordValidator<'User>> * Microsoft.AspNetCore.Identity.ILookupNormalizer * Microsoft.AspNetCore.Identity.IdentityErrorDescriber * IServiceProvider * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Identity.UserManager<'User>> -> Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)>
Public Sub New (store As IUserStore(Of TUser), optionsAccessor As IOptions(Of IdentityOptions), passwordHasher As IPasswordHasher(Of TUser), userValidators As IEnumerable(Of IUserValidator(Of TUser)), passwordValidators As IEnumerable(Of IPasswordValidator(Of TUser)), keyNormalizer As ILookupNormalizer, errors As IdentityErrorDescriber, services As IServiceProvider, logger As ILogger(Of UserManager(Of TUser)))

매개 변수

store
IUserStore<TUser>

관리자가 운영할 지속성 저장소입니다.

optionsAccessor
IOptions<IdentityOptions>

에 액세스하는 데 사용되는 접근자입니다 IdentityOptions.

passwordHasher
IPasswordHasher<TUser>

암호를 저장할 때 사용할 암호 해시 구현입니다.

userValidators
IEnumerable<IUserValidator<TUser>>

사용자의 유효성을 검사할 컬렉션 IUserValidator<TUser> 입니다.

passwordValidators
IEnumerable<IPasswordValidator<TUser>>

암호의 유효성을 검사할 컬렉션 IPasswordValidator<TUser> 입니다.

keyNormalizer
ILookupNormalizer

ILookupNormalizer 사용자에 대한 인덱스 키를 생성할 때 사용할 입니다.

errors
IdentityErrorDescriber

IdentityErrorDescriber 공급자 오류 메시지에 사용되는 입니다.

services
IServiceProvider

IServiceProvider 서비스를 resolve 데 사용되는 입니다.

logger
ILogger<UserManager<TUser>>

메시지, 경고 및 오류를 기록하는 데 사용되는 로거입니다.

적용 대상

UserManager<TUser>(IUserStore<TUser>, IOptions<IdentityOptions>, IPasswordHasher<TUser>, IEnumerable<IUserValidator<TUser>>, IEnumerable<IPasswordValidator<TUser>>, ILookupNormalizer, IdentityErrorDescriber, IServiceProvider, ILogger<UserManager<TUser>>)

Source:
UserManager.cs
Source:
UserManager.cs
Source:
UserManager.cs
Source:
UserManager.cs
Source:
UserManager.cs
Source:
UserManager.cs
Source:
UserManager.cs
Source:
UserManager.cs
Source:
UserManager.cs

UserManager<TUser>의 새 인스턴스를 생성합니다.

public:
 UserManager(Microsoft::AspNetCore::Identity::IUserStore<TUser> ^ store, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Identity::IdentityOptions ^> ^ optionsAccessor, Microsoft::AspNetCore::Identity::IPasswordHasher<TUser> ^ passwordHasher, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Identity::IUserValidator<TUser> ^> ^ userValidators, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Identity::IPasswordValidator<TUser> ^> ^ passwordValidators, Microsoft::AspNetCore::Identity::ILookupNormalizer ^ keyNormalizer, Microsoft::AspNetCore::Identity::IdentityErrorDescriber ^ errors, IServiceProvider ^ services, Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Identity::UserManager<TUser> ^> ^ logger);
public UserManager (Microsoft.AspNetCore.Identity.IUserStore<TUser> store, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.IdentityOptions> optionsAccessor, Microsoft.AspNetCore.Identity.IPasswordHasher<TUser> passwordHasher, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Identity.IUserValidator<TUser>> userValidators, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Identity.IPasswordValidator<TUser>> passwordValidators, Microsoft.AspNetCore.Identity.ILookupNormalizer keyNormalizer, Microsoft.AspNetCore.Identity.IdentityErrorDescriber errors, IServiceProvider services, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Identity.UserManager<TUser>> logger);
new Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> : Microsoft.AspNetCore.Identity.IUserStore<'User (requires 'User : null)> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.IdentityOptions> * Microsoft.AspNetCore.Identity.IPasswordHasher<'User (requires 'User : null)> * seq<Microsoft.AspNetCore.Identity.IUserValidator<'User>> * seq<Microsoft.AspNetCore.Identity.IPasswordValidator<'User>> * Microsoft.AspNetCore.Identity.ILookupNormalizer * Microsoft.AspNetCore.Identity.IdentityErrorDescriber * IServiceProvider * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Identity.UserManager<'User>> -> Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)>
Public Sub New (store As IUserStore(Of TUser), optionsAccessor As IOptions(Of IdentityOptions), passwordHasher As IPasswordHasher(Of TUser), userValidators As IEnumerable(Of IUserValidator(Of TUser)), passwordValidators As IEnumerable(Of IPasswordValidator(Of TUser)), keyNormalizer As ILookupNormalizer, errors As IdentityErrorDescriber, services As IServiceProvider, logger As ILogger(Of UserManager(Of TUser)))

매개 변수

store
IUserStore<TUser>

관리자가 운영할 지속성 저장소입니다.

optionsAccessor
IOptions<IdentityOptions>

에 액세스하는 데 사용되는 접근자입니다 IdentityOptions.

passwordHasher
IPasswordHasher<TUser>

암호를 저장할 때 사용할 암호 해시 구현입니다.

userValidators
IEnumerable<IUserValidator<TUser>>

사용자의 유효성을 검사할 컬렉션 IUserValidator<TUser> 입니다.

passwordValidators
IEnumerable<IPasswordValidator<TUser>>

암호의 유효성을 검사할 컬렉션 IPasswordValidator<TUser> 입니다.

keyNormalizer
ILookupNormalizer

ILookupNormalizer 사용자에 대한 인덱스 키를 생성할 때 사용할 입니다.

errors
IdentityErrorDescriber

IdentityErrorDescriber 공급자 오류 메시지에 사용되는 입니다.

services
IServiceProvider

IServiceProvider 서비스를 resolve 데 사용되는 입니다.

logger
ILogger<UserManager<TUser>>

메시지, 경고 및 오류를 기록하는 데 사용되는 로거입니다.

적용 대상