[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/authentication/src/ -> Authentication.php (summary)

Part of the Joomla Framework Authentication Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 149 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Authentication:: (3 methods):
  addStrategy()
  authenticate()
  getResults()


Class: Authentication  - X-Ref

Joomla Framework Authentication Class

addStrategy($strategyName, AuthenticationStrategyInterface $strategy)   X-Ref
Register a new strategy

param: string                           $strategyName  The name to use for the strategy.
param: AuthenticationStrategyInterface  $strategy      The authentication strategy object to add.
return: void

authenticate(array $strategies = [])   X-Ref
Perform authentication

param: string[]  $strategies  Array of strategies to try - empty to try all strategies.
return: string|boolean  A string containing a username if authentication is successful, false otherwise.

getResults()   X-Ref
Get authentication results.

Use this if you want to get more detailed information about the results of an authentication attempts.

return: integer[]  An array containing authentication results.



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