dolibarr  x.y.z
All Classes Namespaces Files Functions Variables Modules Pages
Functions
ws.lib.php File Reference

Set of function for manipulating web services. More...

Go to the source code of this file.

Functions

 check_authentication ($authentication, &$error, &$errorcode, &$errorlabel)
 Check authentication array and set error, errorcode, errorlabel. More...
 

Detailed Description

Set of function for manipulating web services.

Definition in file ws.lib.php.

Function Documentation

◆ check_authentication()

check_authentication (   $authentication,
$error,
$errorcode,
$errorlabel 
)

Check authentication array and set error, errorcode, errorlabel.

Parameters
array$authenticationArray with authentication informations ('login'=>,'password'=>,'entity'=>,'dolibarrkey'=>)
int$errorNumber of errors
string$errorcodeError string code
string$errorlabelError string label
Returns
User Return user object identified by login/pass/entity into authentication array

Definition at line 35 of file ws.lib.php.