PasswordHasher<TUser>.VerifyHashedPassword Metoda

Definice

PasswordVerificationResult Vrátí indikující výsledek porovnání hodnot hash hesel.

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

Parametry

user
TUser

Uživatel, jehož heslo by mělo být ověřeno.

hashedPassword
String

Hodnota hash pro uložené heslo uživatele.

providedPassword
String

Heslo zadané pro porovnání.

Návraty

PasswordVerificationResult

Označuje PasswordVerificationResult výsledek porovnání hodnot hash hesel.

Implementuje

Poznámky

Implementace této metody by měly být konzistentní podle času.

Platí pro