XOOPS  2.6.0
Xoops\Auth\Xoops Class Reference
Inheritance diagram for Xoops\Auth\Xoops:
Inheritance graph

Public Member Functions

 __construct (Connection $dao=null)
 
 authenticate ($uname, $pwd=null)
 
- Public Member Functions inherited from Xoops\Auth\AuthAbstract
 __construct ($dao)
 
 authenticate ($uname, $pwd=null)
 
 getErrors ()
 
 getHtmlErrors ()
 
 setErrors ($err_no, $err_str)
 

Additional Inherited Members

- Protected Attributes inherited from Xoops\Auth\AuthAbstract
 $auth_method
 
 $dao
 
 $errors
 

Detailed Description

Definition at line 27 of file Xoops.php.

Constructor & Destructor Documentation

Xoops\Auth\Xoops::__construct ( Connection  $dao = null)

Authentication Service constructor

Parameters
Connection | null$daodatabase object

Definition at line 34 of file Xoops.php.

References Xoops\Auth\AuthAbstract\$dao.

Member Function Documentation

Xoops\Auth\Xoops::authenticate (   $uname,
  $pwd = null 
)

Authenticate user

Parameters
string$unameuser name
string$pwdpassword
Returns
bool

Definition at line 48 of file Xoops.php.

References $member_handler, $uname, Xoops\$user, $xoops, XoopsLocaleEn_US\E_INCORRECT_LOGIN, Xoops\getInstance(), and Xoops\Auth\AuthAbstract\setErrors().

Here is the call graph for this function:


The documentation for this class was generated from the following file: