JAuthenticationAuthentication class, provides an interface for the Joomla authentication system
Located in /libraries/joomla/user/authentication.php (line 19)
JObject | --JAuthentication
static array[JAuthenticationResponse]
authorise
(JAuthenticationResponse $response, [array $options = array()])
static JAuthentication
$instance
(line 94)
array
$methods
= array() (line 88)
A multi dimensional array of [function][] = key for observers
array
$observers
= array() (line 72)
An array of Observer objects to notify
mixed
$state
= null (line 80)
The state of the observable object
Inherited from JObject
JObject::$_errors
Authorises that a particular user should be able to login
Returns the global authentication object, only creating it if it doesn't already exist.
Attach an observer object
Finds out if a set of login credentials are valid by asking all observing objects to run their respective authentication routines.
Detach an observer object
Constructor
Inherited From JObject
JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::__toString()
STATUS_CANCEL
= 2
(line 35)
Status to indicate cancellation of authentication (unused)
STATUS_DENIED
= 16
(line 57)
This is the status code returned when the account has been denied (prevent login)
STATUS_EXPIRED
= 8
(line 50)
This is the status code returned when the account has expired (prevent login)
STATUS_FAILURE
= 4
(line 42)
This is the status code returned when the authentication failed (prevent login if no success)
STATUS_SUCCESS
= 1
(line 27)
This is the status code returned when the authentication is success (permit login)
STATUS_UNKNOWN
= 32
(line 64)
This is the status code returned when the account doesn't exist (not an error)
Documentation generated on Tue, 19 Nov 2013 14:54:10 +0100 by phpDocumentor 1.4.3