IPasswordHasher<TUser>.VerifyHashedPassword Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a PasswordVerificationResult indicating the result of a password hash comparison.
public:
Microsoft::AspNetCore::Identity::PasswordVerificationResult VerifyHashedPassword(TUser user, System::String ^ hashedPassword, System::String ^ providedPassword);
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
- 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.
Remarks
Implementations of this method should be time consistent.