IPasswordHasher.VerifyHashedPassword Method
Verifies a provided password against a previously stored hash.
Syntax
Unit: Sphinx.PasswordHasher
function IPasswordHasher.VerifyHashedPassword(User: TUser; const HashedPassword: string; const ProvidedPassword: string): Boolean; virtual; abstract;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| User | TUser | The user being authenticated. | |
| const | HashedPassword | string | The stored hash previously produced by HashPassword. |
| const | ProvidedPassword | string | The plain-text password to verify. |
Returns
True if ProvidedPassword matches HashedPassword; otherwise False.