XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsAuth Class Reference
Inheritance diagram for XoopsAuth:
Inheritance graph

Public Member Functions

 authenticate ()
 
 getErrors ()
 
 getHtmlErrors ()
 
 setErrors ($err_no, $err_str)
 
 XoopsAuth (&$dao)
 

Public Attributes

 $_dao
 
 $_errors
 

Detailed Description

Definition at line 31 of file auth.php.

Member Function Documentation

XoopsAuth::authenticate ( )

need to be write in the dervied class

Definition at line 48 of file auth.php.

XoopsAuth::getErrors ( )

return the errors for this object as an array

Returns
array an array of errors public

Definition at line 72 of file auth.php.

XoopsAuth::getHtmlErrors ( )

return the errors for this object as html

Returns
string html listing the errors public

Definition at line 83 of file auth.php.

References $ret, $xoopsConfig, _AUTH_MSG_AUTH_METHOD, _NONE, and _US_INCORRECTLOGIN.

XoopsAuth::setErrors (   $err_no,
  $err_str 
)

add an error

Parameters
string$valueerror to add public

Definition at line 61 of file auth.php.

Referenced by XoopsAuthLdap\authenticate(), XoopsAuthLdap\getUserDN(), and XoopsAuthLdap\loadXoopsUser().

Here is the caller graph for this function:

XoopsAuth::XoopsAuth ( $dao)

Authentication Service constructor

Definition at line 39 of file auth.php.

Member Data Documentation

XoopsAuth::$_dao

Definition at line 33 of file auth.php.

XoopsAuth::$_errors

Definition at line 34 of file auth.php.


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