JAuthentication::authenticate
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JAuthentication::authenticate[edit]
Description[edit]
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
See also[edit]
- JAuthentication::authenticate source code on BitBucket
- Class JAuthentication
- Subpackage User
- Other versions of JAuthentication::authenticate
User contributed notes[edit]
Code Examples[edit]