[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Application/ -> MultiFactorAuthenticationHandler.php (summary)

Joomla! Content Management System

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

Defines 7 functions

  isHandlingMultiFactorAuthentication()
  isMultiFactorAuthenticationPending()
  needsMultiFactorAuthenticationRedirection()
  isMultiFactorAuthenticationPage()
  hasRejectedMultiFactorAuthenticationSetup()
  migrateFromLegacyMFA()
  decryptLegacyTFAString()

Functions
Functions that are not part of a class:

isHandlingMultiFactorAuthentication()   X-Ref
Handle the redirection to the Multi-factor Authentication captive login or setup page.

return: boolean  True if we are currently handling a Multi-factor Authentication captive page.

isMultiFactorAuthenticationPending()   X-Ref
Does the current user need to complete MFA authentication before being allowed to access the site?

return: boolean

needsMultiFactorAuthenticationRedirection()   X-Ref
Check whether we'll need to do a redirection to the Multi-factor Authentication captive page.

return: boolean

isMultiFactorAuthenticationPage(bool $onlyCaptive = false)   X-Ref
Is this a page concerning the Multi-factor Authentication feature?

param: bool  $onlyCaptive  Should I only check for the MFA captive page?
return: boolean

hasRejectedMultiFactorAuthenticationSetup()   X-Ref
Does the user have a "don't show this again" flag?

return: boolean

migrateFromLegacyMFA()   X-Ref
Automatically migrates a user's legacy MFA records into the new Captive MFA format.

return: void

decryptLegacyTFAString(string $secret, string $stringToDecrypt)   X-Ref
Tries to decrypt the legacy MFA configuration.

param: string   $secret            Site's secret key
param: string   $stringToDecrypt   Base64-encoded and encrypted, JSON-encoded information
return: string  Decrypted, but JSON-encoded, information



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