Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
onUserMultifactorGetMethod (GetMethod $event) | |
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 () | |
Fonctions membres publiques statiques | |
static | getSubscribedEvents () |
Attributs protégés | |
$autoloadLanguage = true | |
$allowLegacyListeners = false | |
Attributs protégés hérités de CMSPlugin | |
$_name = null | |
$_type = null | |
$autoloadLanguage = false | |
$allowLegacyListeners = true | |
Fonctions membres privées | |
validateYubikeyOtp (string $otp) | |
decodeRecordOptions (MfaTable $record) | |
validateAgainstRecord (MfaTable $record, string $code) | |
Attributs privés | |
$mfaMethodName = 'yubikey' | |
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 () | |
Joomla! Multi-factor Authentication using Yubikey Plugin
|
private |
Decodes the options from a record into an options object.
MfaTable | $record | The record to decode |
Références $options.
|
static |
Returns an array of events this subscriber will listen to.
Implémente SubscriberInterface.
onUserMultifactorGetMethod | ( | GetMethod | $event | ) |
Gets the identity of this MFA Method
GetMethod | $event | The event we are handling |
Références Text\_(), et ResultAwareInterface\addResult().
|
private |
MfaTable | $record | The record to validate against |
string | $code | The code given to us by the user |
Exception |
Références $options.
|
private |
Validates a Yubikey OTP against the Yubikey servers
string | $otp | The OTP generated by your Yubikey |
Exception |
Références $data, $parts, $uri, HttpFactory\getHttp(), Uri\getInstance(), et null.
|
protected |
|
protected |
|
private |