UserManager<TUser>.ValidatePasswordAsync(TUser, String) Metodo

Definizione

Deve restituire Success se la convalida ha esito positivo. Viene chiamato prima di aggiornare l'hash della password.

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)

Parametri

user
TUser

Utente.

password
String

Password.

Restituisce

Oggetto IdentityResult che rappresenta se la convalida ha avuto esito positivo.

Si applica a