Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (?HandlerInterface $passwordHandler=null) | |
getResult () | |
Fonctions membres publiques hérités de AuthenticationStrategyInterface | |
authenticate () | |
Fonctions membres protégées | |
doAuthenticate ($username, $password) | |
getHashedPassword ($username) | |
verifyPassword ($username, $password, $hashedPassword) | |
Attributs protégés | |
$passwordHandler | |
$status | |
Abstract AuthenticationStrategy for username/password based authentication
__construct | ( | ?HandlerInterface | $passwordHandler = null | ) |
Constructor.
HandlerInterface | $passwordHandler | The password handler. |
Références AbstractUsernamePasswordAuthenticationStrategy\$passwordHandler.
|
protected |
Attempt to authenticate the username and password pair.
string | $username | The username to authenticate. |
string | $password | The password to attempt authentication with. |
Références $password, AbstractUsernamePasswordAuthenticationStrategy\getHashedPassword(), Authentication\INVALID_CREDENTIALS, Authentication\NO_SUCH_USER, Authentication\SUCCESS, et AbstractUsernamePasswordAuthenticationStrategy\verifyPassword().
Référencé par LocalStrategy\authenticate(), et DatabaseStrategy\authenticate().
|
abstractprotected |
Retrieve the hashed password for the specified user.
string | $username | Username to lookup. |
Référencé par AbstractUsernamePasswordAuthenticationStrategy\doAuthenticate().
getResult | ( | ) |
Get the status of the last authentication attempt.
Implémente AuthenticationStrategyInterface.
Références AbstractUsernamePasswordAuthenticationStrategy\$status.
|
protected |
Attempt to verify the username and password pair.
string | $username | The username to authenticate. |
string | $password | The password to attempt authentication with. |
string | $hashedPassword | The hashed password to attempt authentication against. |
Références $password.
Référencé par AbstractUsernamePasswordAuthenticationStrategy\doAuthenticate().
|
protected |
|
protected |
Référencé par AbstractUsernamePasswordAuthenticationStrategy\getResult().