[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/system/webauthn/src/PluginTraits/ -> AjaxHandlerLogin.php (summary)

(no description)

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

Defines 5 functions

  onAjaxWebauthnLogin()
  loginUser()
  getAuthenticationResponseObject()
  processLoginFailure()
  getUserHandleFromResponse()

Functions
Functions that are not part of a class:

onAjaxWebauthnLogin(AjaxLogin $event)   X-Ref
Returns the public key set for the user and a unique challenge in a Public Key Credential Request encoded as
JSON.

param: AjaxLogin  $event  The event we are handling
return: void

loginUser(int $userId)   X-Ref
Logs in a user to the site, bypassing the authentication plugins.

param: int   $userId   The user ID to log in
return: void

getAuthenticationResponseObject()   X-Ref
Returns a (blank) Joomla! authentication response

return: AuthenticationResponse

processLoginFailure(AuthenticationResponse $response)   X-Ref
Have Joomla! process a login failure

param: AuthenticationResponse   $response   The Joomla! auth response object
return: boolean

getUserHandleFromResponse(User $user)   X-Ref
Validate the authenticator response sent to us by the browser.

param: User  $user  The user we are trying to log in.
return: string|null  The user handle or null



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