UserManager<TUser>.ValidatePasswordAsync(TUser, String) Yöntem

Tanım

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.

Şunlara uygulanır