[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/authentication/src/ -> AbstractUsernamePasswordAuthenticationStrategy.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: 120 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  __construct()
  doAuthenticate()
  getResult()
  verifyPassword()

Functions
Functions that are not part of a class:

__construct(?HandlerInterface $passwordHandler = null)   X-Ref
Constructor.

param: HandlerInterface  $passwordHandler  The password handler.

doAuthenticate($username, $password)   X-Ref
Attempt to authenticate the username and password pair.

param: string  $username  The username to authenticate.
param: string  $password  The password to attempt authentication with.
return: string|boolean  A string containing a username if authentication is successful, false otherwise.

getResult()   X-Ref
Get the status of the last authentication attempt.

return: integer  Authentication class constant result.

verifyPassword($username, $password, $hashedPassword)   X-Ref
Attempt to verify the username and password pair.

param: string  $username        The username to authenticate.
param: string  $password        The password to attempt authentication with.
param: string  $hashedPassword  The hashed password to attempt authentication against.
return: boolean



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