Security
Table of Contents
- $forgottenpassword : string
- $password : string
- eraseCredentials() : mixed
- eraseDataForCache() : mixed
- getForgottenpassword() : string
- Get the value of Forgottenpassword.
- getPassword() : string
- getSalt() : string|null
- Returning a salt is only needed, if you are not using a modern hashing algorithm (e.g. bcrypt or sodium) in your security.yaml.
- setForgottenpassword() : self
- Set the value of Forgottenpassword.
- setPassword() : self
Properties
$forgottenpassword
private
string
$forgottenpassword
= ''
Tags
$password
private
string
$password
= ''
The hashed password
Tags
Methods
eraseCredentials()
public
eraseCredentials() : mixed
Tags
Return values
mixed —eraseDataForCache()
public
eraseDataForCache() : mixed
Return values
mixed —getForgottenpassword()
Get the value of Forgottenpassword.
public
getForgottenpassword() : string
Return values
string —getPassword()
public
getPassword() : string
Tags
Return values
string —getSalt()
Returning a salt is only needed, if you are not using a modern hashing algorithm (e.g. bcrypt or sodium) in your security.yaml.
public
getSalt() : string|null
Tags
Return values
string|null —setForgottenpassword()
Set the value of Forgottenpassword.
public
setForgottenpassword(string $forgottenpassword) : self
Parameters
- $forgottenpassword : string
Return values
self —setPassword()
public
setPassword(string $password) : self
Parameters
- $password : string