dolibarr  7.0.0-beta
Public Member Functions | List of all members
Auth Class Reference

Class ot manage authentication for pos module (cashdesk) More...

Public Member Functions

 __construct ($db)
 Enter description here ... More...
 
 login ($aLogin)
 Enter description here ... More...
 
 passwd ($aPasswd)
 Enter description here ... More...
 
 reponse ($aReponse)
 Enter description here ... More...
 
 verif ($aLogin, $aPasswd)
 Validate login/pass. More...
 

Detailed Description

Class ot manage authentication for pos module (cashdesk)

Definition at line 23 of file Auth.class.php.

Constructor & Destructor Documentation

Auth::__construct (   $db)

Enter description here ...

Parameters
DoliDB$dbDatabase handler
Returns
void

Definition at line 40 of file Auth.class.php.

References reponse().

Member Function Documentation

Auth::login (   $aLogin)

Enter description here ...

Parameters
string$aLoginLogin
Returns
void

Definition at line 52 of file Auth.class.php.

Referenced by verif().

Auth::passwd (   $aPasswd)

Enter description here ...

Parameters
string$aPasswdPassword
Returns
void

Definition at line 63 of file Auth.class.php.

Referenced by verif().

Auth::reponse (   $aReponse)

Enter description here ...

Parameters
string$aReponseResponse
Returns
void

Definition at line 74 of file Auth.class.php.

Referenced by __construct().

Auth::verif (   $aLogin,
  $aPasswd 
)

Validate login/pass.

Parameters
string$aLoginLogin
string$aPasswdPassword
Returns
int 0 or 1

Definition at line 86 of file Auth.class.php.

References checkLoginPassEntity(), dol_print_error(), GETPOST(), login(), and passwd().


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