Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (DispatcherInterface $dispatcher, array $config, UserFactoryInterface $userFactory) | |
onUserAuthenticate ($credentials, $options, &$response) | |
Fonctions membres publiques hérités de CMSPlugin | |
__construct (&$subject, $config=array()) | |
loadLanguage ($extension='', $basePath=JPATH_ADMINISTRATOR) | |
setApplication (CMSApplicationInterface $application) | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Fonctions membres publiques hérités de PluginInterface | |
registerListeners () | |
Attributs privés | |
$userFactory | |
Membres hérités additionnels | |
Champs de données hérités de CMSPlugin | |
$params = null | |
Fonctions membres protégées hérités de CMSPlugin | |
registerLegacyListener (string $methodName) | |
registerListener (string $methodName) | |
getApplication () | |
Attributs protégés hérités de CMSPlugin | |
$_name = null | |
$_type = null | |
$autoloadLanguage = false | |
$allowLegacyListeners = true | |
Joomla Authentication plugin
__construct | ( | DispatcherInterface | $dispatcher, |
array | $config, | ||
UserFactoryInterface | $userFactory | ||
) |
Constructor.
DispatcherInterface | $dispatcher | The dispatcher |
array | $config | An optional associative array of configuration settings |
UserFactoryInterface | $userFactory | The user factory |
Références $config, Joomla\CMS\Application\$userFactory, et Symfony\Contracts\Service\__construct().
onUserAuthenticate | ( | $credentials, | |
$options, | |||
& | $response | ||
) |
This method should handle any authentication and report back to the subject
array | $credentials | Array holding the user credentials |
array | $options | Array of extra options |
object | &$response | Authentication response object |
Références $db, $password, $query, $result, $user, Joomla\Database\getDatabase(), UserHelper\hashPassword(), Authentication\STATUS_FAILURE, et Authentication\STATUS_SUCCESS.
|
private |