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 () |
Interface defining a password handler
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émenté dans ChainedHandler, MD5Handler, PHPassHandler, Argon2idHandler, Argon2iHandler, et BCryptHandler.
|
static |
Check that the password handler is supported in this environment
Implémenté dans ChainedHandler, Argon2iHandler, MD5Handler, PHPassHandler, Argon2idHandler, et BCryptHandler.
validatePassword | ( | $plaintext, | |
$hashed | |||
) |
Validate a password
string | $plaintext | The plain text password to validate |
string | $hashed | The password hash to validate against |
Implémenté dans ChainedHandler, Argon2iHandler, MD5Handler, PHPassHandler, Argon2idHandler, et BCryptHandler.