[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/multifactorauth/webauthn/src/Extension/ -> Webauthn.php (summary)

(no description)

Copyright: (C) 2022 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 440 lines (17 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Webauthn:: (6 methods):
  getSubscribedEvents()
  onUserMultifactorGetMethod()
  onUserMultifactorGetSetup()
  onUserMultifactorSaveSetup()
  onUserMultifactorCaptive()
  onUserMultifactorValidate()


Class: Webauthn  - X-Ref

Joomla Multi-factor Authentication plugin for WebAuthn

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

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

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

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



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer