API16

JAuthentication: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
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:
<span class="editsection" style="font-size:76%;">
{{subst:Description:JAuthentication}}
<nowiki>[</nowiki>[[Description:JAuthentication|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{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>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JAuthentication|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JAuthentication}}
</span>
{{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 />