Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
hashPassword ($plaintext, array $options=[]) | |
validatePassword ($plaintext, $hashed) | |
Fonctions membres publiques statiques | |
static | isSupported () |
Password handler for Argon2id hashed passwords
hashPassword | ( | $plaintext, | |
array | $options = [] |
||
) |
Generate a hash for a plaintext password
string | $plaintext | The plaintext password to validate |
array | $options | Options for the hashing operation |
UnsupportedPasswordHandlerException | if the password handler is not supported |
Implémente HandlerInterface.
Références $options.
|
static |
Check that the password handler is supported in this environment
Implémente HandlerInterface.
Référencé par Authentication\register().
validatePassword | ( | $plaintext, | |
$hashed | |||
) |
Validate a password
string | $plaintext | The plain text password to validate |
string | $hashed | The password hash to validate against |
UnsupportedPasswordHandlerException | if the password handler is not supported |
Implémente HandlerInterface.