JAuthentication/1.5

From Joomla! Documentation
< JAuthentication(Difference between revisions)
Jump to: navigation, search
(Bulk upload by Doxiki2)
 
m (See also: fixing link to API)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|1.5}} JAuthentication==
 +
===Description===
 +
{{Description:JAuthentication}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JAuthentication|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JAuthentication|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JAuthentication}}
 
===Defined in===
 
libraries/joomla/user/authentication.php
 
===Subpackage===
 
[[Subpackage User/1.5|User]]
 
===Extends===
 
[[JObservable/1.5|JObservable]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JAuthentication::__construct/1.5|__construct]]
 
|[[JAuthentication::__construct/1.5|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 +
|public
 
|[[JAuthentication::authenticate/1.5|authenticate]]
 
|[[JAuthentication::authenticate/1.5|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 
 
|[[JAuthentication::getInstance/1.5|getInstance]]
 
|[[JAuthentication::getInstance/1.5|getInstance]]
 
|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.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/user/authentication.php
 +
* '''Extends''' [[JObservable/1.5|JObservable]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.user.authentication' );</source>
 
<source lang="php">jimport( 'joomla.user.authentication' );</source>
 
===See also===
 
===See also===
 +
* {{JVer|1.5}} '''JAuthentication''' on [http://api.joomla.org/1.5/Joomla-Framework/User/JAuthentication.html api.joomla.org]
 +
* {{JVer|1.5}} '''JAuthentication source code''' on [[jframework15:user/authentication.php|JoomlaCode]]
 +
* {{JVer|1.5}} Subpackage [[Subpackage User/1.5|User]]
 +
* [[JAuthentication|Other versions of JAuthentication]]
 +
{{SeeAlso:JAuthentication}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JAuthentication|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JAuthentication|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{SeeAlso:JAuthentication}}
+
===User contributed notes===
* [[JAuthentication|Other versions of this class]]
+
* [http://api.joomla.org/Joomla-Framework/User/JAuthentication.html JAuthentication on api.joomla.org]
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 44: Line 47:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JAuthentication]]</noinclude>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JAuthentication]]</noinclude>

Latest revision as of 13:03, 13 February 2013

[edit] Joomla 1.5 JAuthentication

[edit] Description

Description:JAuthentication [Edit Descripton]

[edit] Methods

Visibility Method name Description
public __construct Constructor.
public authenticate Finds out if a set of login credentials are valid by asking all obvserving objects to run their respective authentication routines.
public getInstance Returns a reference to a global authentication object, only creating it if it doesn't already exist.
  • Defined in libraries/joomla/user/authentication.php
  • Extends JObservable

[edit] Importing

jimport( 'joomla.user.authentication' );

[edit] See also

SeeAlso:JAuthentication [Edit See Also]

[edit] User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox