PasswordHasher<TUser>.VerifyHashedPassword Metodo

Definizione

Restituisce un PasswordVerificationResult valore che indica il risultato di un confronto dell'hash delle password.

public:
 virtual Microsoft::AspNetCore::Identity::PasswordVerificationResult VerifyHashedPassword(TUser user, System::String ^ hashedPassword, System::String ^ providedPassword);
public virtual Microsoft.AspNetCore.Identity.PasswordVerificationResult VerifyHashedPassword (TUser user, string hashedPassword, string providedPassword);
abstract member VerifyHashedPassword : 'User * string * string -> Microsoft.AspNetCore.Identity.PasswordVerificationResult
override this.VerifyHashedPassword : 'User * string * string -> Microsoft.AspNetCore.Identity.PasswordVerificationResult
Public Overridable Function VerifyHashedPassword (user As TUser, hashedPassword As String, providedPassword As String) As PasswordVerificationResult

Parametri

user
TUser

Utente la cui password deve essere verificata.

hashedPassword
String

Valore hash per la password archiviata di un utente.

providedPassword
String

Password fornita per il confronto.

Restituisce

Oggetto PasswordVerificationResult che indica il risultato di un confronto dell'hash delle password.

Implementazioni

Commenti

Le implementazioni di questo metodo devono essere coerenti con il tempo.

Si applica a