class DolibarrApiAccess implements iAuthenticate (View source)

Dolibarr API access class

Constants

REALM

Properties

DoliDB $db
static string[] $requires
static string $role
static User $user

Methods

__construct()

Constructor

bool
__isAllowed()

Check access

string
__getWWWAuthenticateString()

No description

Details

__construct()

Constructor

bool __isAllowed()

Check access

Return Value

bool

Exceptions

RestException
RestException

string __getWWWAuthenticateString()

No description

Return Value

string

string to be used with WWW-Authenticate header