LegacyPasswordAuthenticatedUserInterface
extends
PasswordAuthenticatedUserInterface
in
For users that can be authenticated using a password/salt couple.
Once all password hashes have been upgraded to a modern algorithm via password migrations, implement PasswordAuthenticatedUserInterface instead.
Tags
Table of Contents
Methods
- getPassword() : string|null
- Returns the hashed password used to authenticate the user.
- getSalt() : string|null
- Returns the salt that was originally used to hash the password.
Methods
getPassword()
Returns the hashed password used to authenticate the user.
public
getPassword() : string|null
Usually on authentication, a plain-text password will be compared to this value.
Return values
string|nullgetSalt()
Returns the salt that was originally used to hash the password.
public
getSalt() : string|null