Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
addStrategy ($strategyName, AuthenticationStrategyInterface $strategy) | |
getResults () | |
Champs de données | |
const | SUCCESS = 1 |
const | INVALID_CREDENTIALS = 2 |
const | NO_SUCH_USER = 3 |
const | NO_CREDENTIALS = 4 |
const | INCOMPLETE_CREDENTIALS = 5 |
Attributs privés | |
$strategies = [] | |
$results = [] | |
Joomla Framework Authentication Class
addStrategy | ( | $strategyName, | |
AuthenticationStrategyInterface | $strategy | ||
) |
Register a new strategy
string | $strategyName | The name to use for the strategy. |
AuthenticationStrategyInterface | $strategy | The authentication strategy object to add. |
getResults | ( | ) |
Get authentication results.
Use this if you want to get more detailed information about the results of an authentication attempts.
Références Authentication\$results.
|
private |
Référencé par Authentication\getResults().
|
private |
const INCOMPLETE_CREDENTIALS = 5 |
There were partial credentials found but they were not complete.
const INVALID_CREDENTIALS = 2 |
Credentials were provided but they were invalid.
Référencé par AbstractUsernamePasswordAuthenticationStrategy\doAuthenticate().
const NO_CREDENTIALS = 4 |
There were no credentials found.
Référencé par LocalStrategy\authenticate(), et DatabaseStrategy\authenticate().
const NO_SUCH_USER = 3 |
Credentials were provided but the user did not exist in the credential store.
Référencé par AbstractUsernamePasswordAuthenticationStrategy\doAuthenticate().
const SUCCESS = 1 |
Authentication was successful.
Référencé par AbstractUsernamePasswordAuthenticationStrategy\doAuthenticate().