Actions

API17

Difference between revisions of "JAuthentication::authenticate"

From Joomla! Documentation

(Layout updates)
m (See also: moving preparation)
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JAuthentication::authenticate|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JAuthentication::authenticate|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JAuthentication::authenticate ($credentials, $options)
+
public function authenticate (
 +
        $credentials
 +
        $options
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' mixed Integer userid for valid user if credentials are valid or boolean false if they are not
mixed Integer userid for valid user if credentials are valid or boolean false if they are not
+
* '''Defined''' on line 83 of libraries/joomla/user/authentication.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/user/authentication.php (line 87)
+
* see source code in [[jplatform:user/authentication.php#cl-87|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JAuthentication::authenticate source code''' on [[jplatform:user/authentication.php#cl-75|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JAuthentication|JAuthentication]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]]
 +
* [[API17:JAuthentication::authenticate|Other versions of JAuthentication::authenticate]]
 +
{{SeeAlso:JAuthentication::authenticate}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JAuthentication::authenticate|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JAuthentication::authenticate|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JAuthentication/11.1|JAuthentication]]
+
===User contributed notes===
* [[JAuthentication::authenticate|Other versions of this method]]
+
{{SeeAlso:JAuthentication::authenticate}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JAuthentication]][[Category:JAuthentication::authenticate]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 19:45, 11 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JAuthentication::authenticate

Description

Finds out if a set of login credentials are valid by asking all obvserving objects to run their respective authentication routines.

Description:JAuthentication::authenticate [Edit Descripton]

public function authenticate (
        $credentials
        $options
)
Parameter Type Default Description
$credentials array Array holding the user credentials
$options
  • Returns mixed Integer userid for valid user if credentials are valid or boolean false if they are not
  • Defined on line 83 of libraries/joomla/user/authentication.php
  • Since Joomla 11.1

See also

  • Joomla 11.1 JAuthentication::authenticate source code on BitBucket
  • Joomla 11.1 Class JAuthentication
  • Joomla 11.1 Subpackage User
  • Other versions of JAuthentication::authenticate

SeeAlso:JAuthentication::authenticate [Edit See Also]

User contributed notes

<CodeExamplesForm />