UserManager<TUser>.ValidatePasswordAsync(TUser, String) Yöntem
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.
Doğrulama başarılı olursa döndürülmelidir Success . Bu, parola karması güncelleştirilmeden önce çağrılır.
protected:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::IdentityResult ^> ^ ValidatePasswordAsync(TUser user, System::String ^ password);
protected System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> ValidatePasswordAsync (TUser user, string password);
protected System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> ValidatePasswordAsync (TUser user, string? password);
member this.ValidatePasswordAsync : 'User * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Protected Function ValidatePasswordAsync (user As TUser, password As String) As Task(Of IdentityResult)
Parametreler
- user
- TUser
Kullanıcı.
- password
- String
Parola.
Döndürülenler
IdentityResult Doğrulamanın başarılı olup olmadığını gösteren bir.