interface LegacyPasswordAuthenticatedUserInterface implementsPasswordAuthenticatedUserInterface

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 {see PasswordAuthenticatedUserInterface} instead.

Methods

string|null
getPassword()

Returns the hashed password used to authenticate the user.

string|null
getSalt()

Returns the salt that was originally used to hash the password.

Details

string|null getPassword()

Returns the hashed password used to authenticate the user.

Usually on authentication, a plain-text password will be compared to this value.

Return Value

string|null

string|null getSalt()

Returns the salt that was originally used to hash the password.

Return Value

string|null