Difference between revisions of "JAuthentication"
From Joomla! Documentation
(New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JAuthentication}}
===Defi...) |
m (preparing for archive only) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/user/authentication.php | libraries/joomla/user/authentication.php | ||
Line 21: | Line 16: | ||
|Returns a reference to a global authentication object, only creating it if it doesn't already exist. | |Returns a reference to a global authentication object, only creating it if it doesn't already exist. | ||
|} | |} | ||
+ | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.user.authentication' );</source> | <source lang="php">jimport( 'joomla.user.authentication' );</source> | ||
− | + | ||
− | + | ||
− | |||
− | |||
===Examples=== | ===Examples=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JAuthentication | category=JAuthentication | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> |
Latest revision as of 19:18, 24 March 2017
The "API15" 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.
Defined in[edit]
libraries/joomla/user/authentication.php
Methods[edit]
Method name | Description |
---|---|
__construct | Constructor |
authenticate | Finds out if a set of login credentials are valid by asking all obvserving objects to run their respective authentication routines. |
getInstance | Returns a reference to a global authentication object, only creating it if it doesn't already exist. |
Importing[edit]
jimport( 'joomla.user.authentication' );
Examples[edit]
Code Examples[edit]