UserManager<TUser> Oluşturucular
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
UserManager<TUser>(IUserStore<TUser>, IOptions<IdentityOptions>, IPasswordHasher<TUser>, IEnumerable<IUserValidator<TUser>>, IEnumerable<IPasswordValidator<TUser>>, ILookupNormalizer, IdentityErrorDescriber, IServiceProvider, ILogger<UserManager<TUser>>)
öğesinin yeni bir örneğini UserManager<TUser>oluşturur.
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)))
Parametreler
- store
- IUserStore<TUser>
Yöneticinin üzerinde çalışacağı kalıcılık deposu.
- optionsAccessor
- IOptions<IdentityOptions>
erişim için kullanılan erişimci IdentityOptions.
- passwordHasher
- IPasswordHasher<TUser>
Parolaları kaydederken kullanılacak parola karması uygulaması.
- userValidators
- IEnumerable<IUserValidator<TUser>>
Kullanıcıları doğrulamak için bir koleksiyonu IUserValidator<TUser> .
- passwordValidators
- IEnumerable<IPasswordValidator<TUser>>
Parolaların IPasswordValidator<TUser> doğrulanması için bir koleksiyonu.
- keyNormalizer
- ILookupNormalizer
ILookupNormalizer kullanıcılar için dizin anahtarları oluştururken kullanılacak.
- errors
- IdentityErrorDescriber
Sağlayıcı IdentityErrorDescriber hata iletileri için kullanılır.
- services
- IServiceProvider
IServiceProvider Hizmetleri çözümlemek için kullanılır.
- logger
- ILogger<UserManager<TUser>>
İletileri, uyarıları ve hataları günlüğe kaydetmek için kullanılan günlükçü.
Şunlara uygulanır
UserManager<TUser>(IUserStore<TUser>, IOptions<IdentityOptions>, IPasswordHasher<TUser>, IEnumerable<IUserValidator<TUser>>, IEnumerable<IPasswordValidator<TUser>>, ILookupNormalizer, IdentityErrorDescriber, IServiceProvider, ILogger<UserManager<TUser>>)
öğesinin yeni bir örneğini UserManager<TUser>oluşturur.
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)))
Parametreler
- store
- IUserStore<TUser>
Yöneticinin üzerinde çalışacağı kalıcılık deposu.
- optionsAccessor
- IOptions<IdentityOptions>
erişim için kullanılan erişimci IdentityOptions.
- passwordHasher
- IPasswordHasher<TUser>
Parolaları kaydederken kullanılacak parola karması uygulaması.
- userValidators
- IEnumerable<IUserValidator<TUser>>
Kullanıcıları doğrulamak için bir koleksiyonu IUserValidator<TUser> .
- passwordValidators
- IEnumerable<IPasswordValidator<TUser>>
Parolaların IPasswordValidator<TUser> doğrulanması için bir koleksiyonu.
- keyNormalizer
- ILookupNormalizer
ILookupNormalizer kullanıcılar için dizin anahtarları oluştururken kullanılacak.
- errors
- IdentityErrorDescriber
Sağlayıcı IdentityErrorDescriber hata iletileri için kullanılır.
- services
- IServiceProvider
IServiceProvider Hizmetleri çözümlemek için kullanılır.
- logger
- ILogger<UserManager<TUser>>
İletileri, uyarıları ve hataları günlüğe kaydetmek için kullanılan günlükçü.
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin