Legend of the Green Dragon

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
ORM\Column

(name="forgottenpassword", type="string", nullable=true)

$password

private string $password = ''

The hashed password

Tags
ORM\Column

(type="string")

Methods

eraseCredentials()

public eraseCredentials() : mixed
Tags
see
UserInterface
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
see
UserInterface
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
see
UserInterface
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
Return values
self

Search results