|
XOOPS
2.6.0
|

Public Member Functions | |
| __construct ($dao) | |
| authenticate ($uname, $pwd=null) | |
| getErrors () | |
| getHtmlErrors () | |
| setErrors ($err_no, $err_str) | |
Protected Attributes | |
| $auth_method | |
| $dao | |
| $errors | |
Definition at line 25 of file AuthAbstract.php.
| Xoops\Auth\AuthAbstract::__construct | ( | $dao | ) |
Authentication Service constructor
| \Xoops\Core\Database\Connection | null | $dao | database |
Definition at line 47 of file AuthAbstract.php.
References Xoops\Auth\AuthAbstract\$dao.
|
abstract |
authenticate a user
| string | $uname | user name |
| string | null | $pwd | password |
| Xoops\Auth\AuthAbstract::getErrors | ( | ) |
return the errors for this object as an array
Definition at line 80 of file AuthAbstract.php.
References Xoops\Auth\AuthAbstract\$errors.
| Xoops\Auth\AuthAbstract::getHtmlErrors | ( | ) |
return the errors for this object as html
Definition at line 90 of file AuthAbstract.php.
References $xoops, XoopsLocaleEn_US\E_INCORRECT_LOGIN, XoopsLocaleEn_US\F_USING_AUTHENTICATION_METHOD, Xoops\getInstance(), and XoopsLocaleEn_US\NONE.

| Xoops\Auth\AuthAbstract::setErrors | ( | $err_no, | |
| $err_str | |||
| ) |
setErrors
| int | $err_no | error number |
| string | $err_str | error message |
Definition at line 70 of file AuthAbstract.php.
Referenced by Xoops\Auth\Xoops\authenticate(), Xoops\Auth\Ads\authenticate(), Xoops\Auth\Ldap\authenticate(), Xoops\Auth\Ldap\getUserDN(), and Xoops\Auth\Ldap\loadXoopsUser().

|
protected |
Definition at line 40 of file AuthAbstract.php.
|
protected |
Definition at line 30 of file AuthAbstract.php.
Referenced by Xoops\Auth\Xoops\__construct(), Xoops\Auth\Ads\__construct(), Xoops\Auth\AuthAbstract\__construct(), and Xoops\Auth\Ldap\__construct().
|
protected |
Definition at line 35 of file AuthAbstract.php.
Referenced by Xoops\Auth\AuthAbstract\getErrors().