API17

Difference between revisions of "JAuthentication::authenticate"

From Joomla! Documentation

m (→‎User contributed notes: moving preparation)
m (preparing for archive only)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
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.  
  
{{Description:JAuthentication::authenticate}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JAuthentication::authenticate|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function authenticate (
 
public function authenticate (
Line 37: Line 35:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JAuthentication::authenticate source code''' on [[jplatform:user/authentication.php#cl-75|BitBucket]]
 
* {{JVer|11.1}} '''JAuthentication::authenticate source code''' on [[jplatform:user/authentication.php#cl-75|BitBucket]]
* {{JVer|11.1}} Class [[JAuthentication/11.1|JAuthentication]]
+
* {{JVer|11.1}} Class [[API17:JAuthentication|JAuthentication]]
* {{JVer|11.1}} Subpackage [[Subpackage_User/11.1|User]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]]
* [[JAuthentication::authenticate|Other versions of JAuthentication::authenticate]]
+
* [[API17:JAuthentication::authenticate|Other versions of JAuthentication::authenticate]]
{{SeeAlso:JAuthentication::authenticate}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JAuthentication::authenticate|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JAuthentication::authenticate
 
category=JAuthentication::authenticate
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*

Latest revision as of 21:21, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JAuthentication::authenticate[edit]

Description[edit]

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


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[edit]


User contributed notes[edit]

Code Examples[edit]