API17

API17:JAuthentication::authenticate

From Joomla! Documentation

Revision as of 02:21, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Joomla 11.1 JAuthentication::authenticate

Description

Finds out if a set of login credentials are valid by asking all obvserving objects to run their respective authentication routines.


public function authenticate (
        $credentials
        $options
)
Parameter Type Default Description
$credentials array Array holding the user credentials
$options
  • Returns mixed Integer userid for valid user if credentials are valid or boolean false if they are not
  • Defined on line 83 of libraries/joomla/user/authentication.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples