XOOPS
2.6.0
|
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 | |
Xoops\Auth\Xoops::__construct | ( | Connection | $dao = null | ) |
Authentication Service constructor
Connection | null | $dao | database object |
Definition at line 34 of file Xoops.php.
References Xoops\Auth\AuthAbstract\$dao.
Xoops\Auth\Xoops::authenticate | ( | $uname, | |
$pwd = null |
|||
) |
Authenticate user
string | $uname | user name |
string | $pwd | password |
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().