dolibarr  16.0.4
Public Member Functions | Static Public Member Functions | List of all members
DolibarrApiAccess Class Reference

Dolibarr API access class. More...

Inheritance diagram for DolibarrApiAccess:
Inheritance graph
[legend]
Collaboration diagram for DolibarrApiAccess:
Collaboration graph
[legend]

Public Member Functions

 __construct ()
 Constructor.
 
 __isAllowed ()
 Check access. More...
 
 __getWWWAuthenticateString ()
 

Static Public Member Functions

static verifyAccess (array $m)
 Verify access. More...
 

Detailed Description

Dolibarr API access class.

API class for zapier hook.

API class for users.

API class for ticket object.

API class for thirdparties.

API class for contacts.

API class for recruitment.

API class for receptions.

API class for projects.

API class for warehouses.

API class for stock movements.

API class for products.

API class for MO.

API class for mymodule myobject.

API class for knowledgemanagement knowledgerecord.

API class for supplier orders.

API class for Interventions.

API class for Expense Reports.

API class for shipments.

API class for donations.

API class for contracts.

API class for invoices.

API class for orders.

API class for Agenda Events.

API class for categories.

API class for BOM.

API that gives the status of the Dolibarr instance.

API class for dictionaries.

API class for subscriptions.

API class for members types.

API class for members.

@access protected ,external}

,external}

Definition at line 43 of file api_access.class.php.

Member Function Documentation

◆ __getWWWAuthenticateString()

DolibarrApiAccess::__getWWWAuthenticateString ( )
Returns
string string to be used with WWW-Authenticate header

Definition at line 187 of file api_access.class.php.

◆ __isAllowed()

DolibarrApiAccess::__isAllowed ( )

Check access.

Returns
bool
Exceptions
RestException401 Forbidden
RestException503 Technical error

Definition at line 81 of file api_access.class.php.

◆ verifyAccess()

static DolibarrApiAccess::verifyAccess ( array  $m)
static

Verify access.

Parameters
array$mProperties of method

@access private

Returns
bool

Definition at line 201 of file api_access.class.php.


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