Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe Yubikey
+ Graphe d'héritage de Yubikey:

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 ()
 

Description détaillée

Joomla! Multi-factor Authentication using Yubikey Plugin

Depuis
4.2.0

Documentation des fonctions membres

◆ decodeRecordOptions()

decodeRecordOptions ( MfaTable  $record)
private

Decodes the options from a record into an options object.

Paramètres
MfaTable$recordThe record to decode
Renvoie
array
Depuis
4.2.0

Références $options.

◆ getSubscribedEvents()

static getSubscribedEvents ( )
static

Returns an array of events this subscriber will listen to.

Renvoie
array
Depuis
4.2.0

Implémente SubscriberInterface.

◆ onUserMultifactorGetMethod()

onUserMultifactorGetMethod ( GetMethod  $event)

Gets the identity of this MFA Method

Paramètres
GetMethod$eventThe event we are handling
Renvoie
void
Depuis
4.2.0

Références Text\_(), et ResultAwareInterface\addResult().

◆ validateAgainstRecord()

validateAgainstRecord ( MfaTable  $record,
string  $code 
)
private
Paramètres
MfaTable$recordThe record to validate against
string$codeThe code given to us by the user
Renvoie
boolean
Exceptions
Exception
Depuis
4.2.0

Références $options.

◆ validateYubikeyOtp()

validateYubikeyOtp ( string  $otp)
private

Validates a Yubikey OTP against the Yubikey servers

Paramètres
string$otpThe OTP generated by your Yubikey
Renvoie
boolean True if it's a valid OTP
Exceptions
Exception
Depuis
4.2.0

Références $data, $parts, $uri, HttpFactory\getHttp(), Uri\getInstance(), et null.

Documentation des champs

◆ $allowLegacyListeners

$allowLegacyListeners = false
protected

◆ $autoloadLanguage

$autoloadLanguage = true
protected

◆ $mfaMethodName

$mfaMethodName = 'yubikey'
private

La documentation de cette classe a été générée à partir du fichier suivant :