[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2022 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 614 lines (20 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
getSubscribedEvents() X-Ref |
Returns an array of events this subscriber will listen to. return: array |
onUserMultifactorGetMethod(GetMethod $event) X-Ref |
Gets the identity of this MFA Method param: GetMethod $event The event we are handling return: void |
onUserMultifactorCaptive(Captive $event) X-Ref |
Returns the information which allows Joomla to render the Captive MFA page. This is the page which appears right after you log in and asks you to validate your login with MFA. param: Captive $event The event we are handling return: void |
onUserMultifactorGetSetup(GetSetup $event) X-Ref |
Returns the information which allows Joomla to render the MFA setup page. This is the page which allows the user to add or modify a MFA Method for their user account. If the record does not correspond to your plugin return an empty array. param: GetSetup $event The event we are handling return: void |
onUserMultifactorSaveSetup(SaveSetup $event) X-Ref |
Parse the input from the MFA setup page and return the configuration information to be saved to the database. If the information is invalid throw a RuntimeException to signal the need to display the editor page again. The message of the exception will be displayed to the user. If the record does not correspond to your plugin return an empty array. param: SaveSetup $event The event we are handling return: void The configuration data to save to the database |
onUserMultifactorValidate(Validate $event) X-Ref |
Validates the Multi-factor Authentication code submitted by the user in the Multi-Factor Authentication page. If the record does not correspond to your plugin return FALSE. param: Validate $event The event we are handling return: void |
validateYubikeyOtp(string $otp) X-Ref |
signRequest(Uri $uri, string $secret) X-Ref |
Sign the request to YubiCloud. param: Uri $uri The request URI to sign param: string $secret The secret key to sign with return: void |
decodeRecordOptions(MfaTable $record) X-Ref |
Decodes the options from a record into an options object. param: MfaTable $record The record to decode return: array |
validateAgainstRecord(MfaTable $record, string $code) X-Ref |
param: MfaTable $record The record to validate against param: string $code The code given to us by the user return: boolean |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |