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 preparing for archive only
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JAuthentication|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JAuthentication}}
===Defined in===
===Defined in===
libraries/joomla/user/authentication.php
libraries/joomla/user/authentication.php
Line 25: Line 20:
<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>
 
</span>
{{SeeAlso:JAuthentication}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JAuthentication
  category=JAuthentication
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 01:19, 25 March 2017

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' );



Examples

Code Examples