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, 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
Parameters
- user
- TUser
The user whose password should be verified.
- hashedPassword
- String
The hash value for a user's stored password.
- providedPassword
- String
The password supplied for comparison.
Returns
A PasswordVerificationResult indicating the result of a password hash comparison.
Implements
Remarks
Implementations of this method should be time consistent.