PasswordHasher<TUser>.VerifyHashedPassword(TUser, String, String) PasswordHasher<TUser>.VerifyHashedPassword(TUser, String, String) PasswordHasher<TUser>.VerifyHashedPassword(TUser, String, String) Method

Definition

Returns a PasswordVerificationResult indicating the result of a password hash comparison.

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

Parameters

user

The user whose password should be verified.

hashedPassword
String String String

The hash value for a user's stored password.

providedPassword
String String String

The password supplied for comparison.

Returns

Implements

Remarks

Implementations of this method should be time consistent.

Applies to