70 if (array_key_exists(
'auth', $GLOBALS[
'SysConf'])) {
82 if (array_key_exists(
'auth', $GLOBALS[
'SysConf'])) {
113 $restToken =
"token";
114 if (array_key_exists(
'AUTHENTICATION', $SysConf) &&
115 array_key_exists(
'resttoken', $SysConf[
'AUTHENTICATION'])) {
116 $restToken = $SysConf[
'AUTHENTICATION'][
'resttoken'];
118 switch ($restToken) {
Contains the constants and helpers for authentication of user.
static getUserId()
Get the current user's id.
static getGroupId()
Get the current user's group id.
static getRestTokenType()
static isAdmin()
Check if user is admin.
static isClearingAdmin()
Check if user is clearing admin.