Documentation

LegacyPasswordAuthenticatedUserInterface extends PasswordAuthenticatedUserInterface

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
author

Robin Chalas robin.chalas@gmail.com

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|null

        
On this page

Search results