Difference between revisions of "JAuthentication"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JAuthentication== | =={{JVer|11.1}} JAuthentication== | ||
===Description=== | ===Description=== | ||
− | + | ||
− | + | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 14: | Line 12: | ||
|- | |- | ||
|public | |public | ||
− | |[[JAuthentication::authenticate | + | |[[API17:JAuthentication::authenticate|authenticate]] |
|Finds out if a set of login credentials are valid by asking all obvserving objects to run their respective authentication routines. | |Finds out if a set of login credentials are valid by asking all obvserving objects to run their respective authentication routines. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JAuthentication::getInstance | + | |[[API17:JAuthentication::getInstance|getInstance]] |
|Returns the global authentication object, only creating it if it doesn't already exist. | |Returns the global authentication object, only creating it if it doesn't already exist. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JAuthentication::__construct | + | |[[API17:JAuthentication::__construct|__construct]] |
|Constructor. | |Constructor. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/user/authentication.php | * '''Defined in''' libraries/joomla/user/authentication.php | ||
− | * '''Extends''' [[JObservable | + | * '''Extends''' [[API17:JObservable|JObservable]] |
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.user.authentication' );</source> | <source lang="php">jimport( 'joomla.user.authentication' );</source> | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JAuthentication source code''' on [[jplatform:user/authentication.php|BitBucket]] | * {{JVer|11.1}} '''JAuthentication source code''' on [[jplatform:user/authentication.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage User | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage User|User]] |
− | * [[JAuthentication|Other versions of JAuthentication]] | + | * [[API17:JAuthentication|Other versions of JAuthentication]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JAuthentication | category=JAuthentication | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Line 49: | Line 45: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 20:21, 24 March 2017
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[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | authenticate | Finds out if a set of login credentials are valid by asking all obvserving objects to run their respective authentication routines. |
public static | getInstance | Returns the global authentication object, only creating it if it doesn't already exist. |
protected | __construct | Constructor. |
- Defined in libraries/joomla/user/authentication.php
- Extends JObservable
Importing[edit]
jimport( 'joomla.user.authentication' );
See also[edit]
JAuthentication source code on BitBucket
Subpackage User
- Other versions of JAuthentication
User contributed notes[edit]
Code Examples[edit]