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

Definition

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

public Microsoft.AspNetCore.Identity.PasswordVerificationResult VerifyHashedPassword (TUser user, string hashedPassword, string providedPassword);
abstract member VerifyHashedPassword : 'User * string * string -> Microsoft.AspNetCore.Identity.PasswordVerificationResult
Public 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

Remarks

Implementations of this method should be time consistent.

Applies to