|
string | $chars = 'abcdefghjkmnpqrstuvwxyz0123456789' |
|
string | $hash = null |
|
string | $new_password |
|
Abstract password
- Author
- Frédéric Jacquot gna@l.nosp@m.ogee.nosp@m.k.com
-
Georges Khaznadar (password encryption, images) georg.nosp@m.es@u.nosp@m.nknow.nosp@m..org
-
Johan Cwiklinski johan.nosp@m.@x-t.nosp@m.nd.be
◆ cleanExpired()
Galette\Core\AbstractPassword::cleanExpired |
( |
| ) |
|
|
abstractprotected |
Remove expired passwords queries (older than 24 hours)
- Returns
- boolean
Reimplemented in Galette\Core\Password.
◆ generateNewPassword()
Galette\Core\AbstractPassword::generateNewPassword |
( |
int |
$id_adh | ) |
|
|
abstract |
Generates a new password for specified member
- Parameters
-
int | $id_adh | Member identifier |
- Returns
- boolean
Reimplemented in Galette\Core\Password.
◆ getHash()
Galette\Core\AbstractPassword::getHash |
( |
| ) |
|
Retrieve new hash
- Returns
- string hash
◆ getNewPassword()
Galette\Core\AbstractPassword::getNewPassword |
( |
| ) |
|
Retrieve new password for sending it to the user
- Returns
- string the new password
◆ makeRandomPassword()
Galette\Core\AbstractPassword::makeRandomPassword |
( |
int |
$size = null | ) |
|
Generates a random password based on default salt
- Parameters
-
- Returns
- string random password
◆ setHash()
Galette\Core\AbstractPassword::setHash |
( |
string |
$hash | ) |
|
|
protected |
Set hash
- Parameters
-
- Returns
- self
◆ setPassword()
Galette\Core\AbstractPassword::setPassword |
( |
string |
$password | ) |
|
|
protected |
Set password
- Parameters
-
- Returns
- self
◆ DEFAULT_SIZE
const Galette\Core\AbstractPassword::DEFAULT_SIZE = 8 |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/galette-apidoc/checkouts/develop/galette/lib/Galette/Core/AbstractPassword.php