JAuthentication/1.5
From Joomla! Documentation
< JAuthentication(Difference between revisions)
(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> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===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> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<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]
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
-
JAuthentication on api.joomla.org
-
JAuthentication source code on JoomlaCode
-
Subpackage User
- Other versions of JAuthentication
SeeAlso:JAuthentication [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />