JAuthentication: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JAuthentication}}
===Defi... |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JAuthentication}} | |||
{{Description:JAuthentication}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 25: | Line 22: | ||
<source lang="php">jimport( 'joomla.user.authentication' );</source> | <source lang="php">jimport( 'joomla.user.authentication' );</source> | ||
{{subst:SeeAlso:JAuthentication}} | |||
{{SeeAlso:JAuthentication}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 13:39, 24 March 2017
{{subst:Description:JAuthentication}}
Defined in
libraries/joomla/user/authentication.php
Methods
| 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 the global authentication object, only creating it if it doesn't already exist. |
Importing
jimport( 'joomla.user.authentication' );
{{subst:SeeAlso:JAuthentication}}
Examples
<CodeExamplesForm />