JAuthenticate
Description
Authorization class, provides an interface for the Joomla authentication system
Located in /joomla/user/authenticate.php (line 41)
JObject (Subpackage Base) JAuthenticate (Subpackage User)
Method Summary
static object The
&getInstance
()
JAuthenticate
__construct
()
Methods
Constructor __construct (line 48)
Constructor
JAuthenticate
__construct
()
Redefinition of:
- JObject::__construct()
- Class constructor, overridden in descendant classes.
authenticate (line 102)
Finds out if a set of login credentials are valid by asking all obvserving objects to run their respective authentication routines.
mixed
authenticate
(string $username, string $password)
- string $username: The username.
- string $password: The password.
getInstance (line 77)
Returns a reference to a global authentication object, only creating it if it doesn't already exist.
This method must be invoked as:
$auth = &JAuthenticate::getInstance();
object The
&getInstance
()
loadPlugin (line 191)
Static method to load an auth plugin and attach it to the JEventDispatcher object.
This method should be invoked as:
$isLoaded = JAuthenticate::loadPlugin($plugin, $subject);
boolean
loadPlugin
(string $plugin, &$subject, object $subject)
- string $plugin: The authentication plugin to use.
- object $subject: Observable object for the plugin to observe
- &$subject
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 20:52:44 +0000 by phpDocumentor 1.3.1