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 BCrypt 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 |
Implémente HandlerInterface.
Références $options.
|
static |
Check that the password handler is supported in this environment
Implémente HandlerInterface.
validatePassword | ( | $plaintext, | |
$hashed | |||
) |
Validate a password
string | $plaintext | The plain text password to validate |
string | $hashed | The password hash to validate against |
Implémente HandlerInterface.