ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilOpenIdConnectSettings Class Reference

Class ilOpenIdConnectSettingsGUI. More...

+ Collaboration diagram for ilOpenIdConnectSettings:

Public Member Functions

 setActive (bool $active)
 
 getActive ()
 
 setProvider (string $url)
 
 getProvider ()
 
 setClientId (string $client_id)
 
 getClientId ()
 
 setSecret (string $secret)
 
 getSecret ()
 Get secret. More...
 
 setLoginElementType (int $type)
 Set login element type. More...
 
 getLoginElementType ()
 
 setLoginElementImage (string $a_img_name)
 
 getLoginElementImage ()
 
 setLoginElementText (string $text)
 
 getLoginElemenText ()
 
 setLoginPromptType (int $a_type)
 
 getLoginPromptType ()
 
 setLogoutScope (int $a_scope)
 
 getLogoutScope ()
 
 useCustomSession (bool $a_stat)
 
 isCustomSession ()
 
 setSessionDuration (int $a_duration)
 
 getSessionDuration ()
 
 isSyncAllowed ()
 
 allowSync (bool $a_stat)
 
 setRole (int $role)
 
 getRole ()
 
 setUidField (string $field)
 
 getUidField ()
 
 deleteImageFile ()
 Delete image file. More...
 
 hasImageFile ()
 
 getImageFilePath ()
 
 setRoleMappings (array $a_role_mappings)
 
 getRoleMappings ()
 Get role mappings. More...
 
 getRoleMappingValueForId ($a_role_id)
 
 getRoleMappingUpdateForId ($a_role_id)
 
 save ()
 Save in settings. More...
 
 getProfileMappingFieldValue (string $field)
 
 setProfileMappingFieldValue (string $field, string $value)
 
 getProfileMappingFieldUpdate (string $field)
 
 setProfileMappingFieldUpdate (string $field, bool $value)
 
 getProfileMappingFields ()
 

Static Public Member Functions

static getInstance ()
 Get singleton instance. More...
 

Data Fields

const FILE_STORAGE = 'openidconnect/login_form_image'
 
const STORAGE_ID = 'oidc'
 
const LOGIN_ELEMENT_TYPE_TXT = 0
 
const LOGIN_ELEMENT_TYPE_IMG = 1
 
const LOGIN_ENFORCE = 0
 
const LOGIN_STANDARD = 1
 
const LOGOUT_SCOPE_GLOBAL = 0
 
const LOGOUT_SCOPE_LOCAL = 1
 

Protected Member Functions

 load ()
 Load from settings. More...
 

Private Member Functions

 __construct ()
 ilOpenIdConnectSettings constructor. More...
 

Private Attributes

 $storage = null
 
 $filesystem = null
 
 $active = false
 
 $provider = ''
 
 $client_id = ''
 
 $secret = ''
 
 $login_element_type = self::LOGIN_ELEMENT_TYPE_TXT
 
 $login_element_img_name
 
 $login_element_text
 
 $login_prompt_type = self::LOGIN_ENFORCE
 
 $logout_scope
 
 $custom_session = false
 
 $session_duration = 60
 
 $allow_sync
 
 $role
 
 $uid = ''
 
 $profile_map = []
 
 $profile_update_map = []
 
 $role_mappings = []
 

Static Private Attributes

static $instance = null
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilOpenIdConnectSettings::__construct ( )
private

ilOpenIdConnectSettings constructor.

Definition at line 133 of file class.ilOpenIdConnectSettings.php.

References $DIC, and load().

134  {
135  global $DIC;
136 
137  $this->storage = new ilSetting(self::STORAGE_ID);
138  $this->filesystem = $DIC->filesystem()->web();
139  $this->load();
140  }
global $DIC
Definition: saml.php:7
+ Here is the call graph for this function:

Member Function Documentation

◆ allowSync()

ilOpenIdConnectSettings::allowSync ( bool  $a_stat)
Parameters
bool$a_stat

Definition at line 336 of file class.ilOpenIdConnectSettings.php.

Referenced by load().

337  {
338  $this->allow_sync = $a_stat;
339  }
+ Here is the caller graph for this function:

◆ deleteImageFile()

ilOpenIdConnectSettings::deleteImageFile ( )

Delete image file.

Exceptions

Definition at line 379 of file class.ilOpenIdConnectSettings.php.

References getLoginElementImage().

380  {
381  if ($this->filesystem->has(self::FILE_STORAGE . '/' . $this->getLoginElementImage())) {
382  $this->filesystem->delete(self::FILE_STORAGE . '/' . $this->getLoginElementImage());
383  }
384  }
+ Here is the call graph for this function:

◆ getActive()

ilOpenIdConnectSettings::getActive ( )
Returns
bool

Definition at line 165 of file class.ilOpenIdConnectSettings.php.

References $active.

Referenced by save().

165  : bool
166  {
167  return $this->active;
168  }
+ Here is the caller graph for this function:

◆ getClientId()

ilOpenIdConnectSettings::getClientId ( )
Returns
string

Definition at line 197 of file class.ilOpenIdConnectSettings.php.

References $client_id.

Referenced by save().

197  : string
198  {
199  return $this->client_id;
200  }
+ Here is the caller graph for this function:

◆ getImageFilePath()

ilOpenIdConnectSettings::getImageFilePath ( )
Returns
string

Definition at line 399 of file class.ilOpenIdConnectSettings.php.

References getLoginElementImage(), and ilUtil\getWebspaceDir().

399  : string
400  {
401  return implode(
402  '/',
403  [
405  self::FILE_STORAGE . '/' . $this->getLoginElementImage()
406  ]
407  );
408  }
static getWebspaceDir($mode="filesystem")
get webspace directory
+ Here is the call graph for this function:

◆ getInstance()

static ilOpenIdConnectSettings::getInstance ( )
static

Get singleton instance.

Returns

Definition at line 146 of file class.ilOpenIdConnectSettings.php.

Referenced by ilAuthProviderOpenIdConnect\__construct(), ilAuthFrontendCredentialsOpenIdConnect\__construct(), ilOpenIdConnectSettingsGUI\__construct(), ilAuthUtils\_getActiveAuthModes(), ilAuthUtils\_isExternalAccountEnabled(), and ilStartUpGUI\showOpenIdConnectLoginForm().

147  {
148  if (!self::$instance) {
149  self::$instance = new self();
150  }
151  return new self::$instance;
152  }
Class ilOpenIdConnectSettingsGUI.
+ Here is the caller graph for this function:

◆ getLoginElemenText()

ilOpenIdConnectSettings::getLoginElemenText ( )

Definition at line 256 of file class.ilOpenIdConnectSettings.php.

References $login_element_text.

Referenced by save().

256  : string
257  {
259  }
+ Here is the caller graph for this function:

◆ getLoginElementImage()

ilOpenIdConnectSettings::getLoginElementImage ( )
Returns
string

Definition at line 245 of file class.ilOpenIdConnectSettings.php.

References $login_element_img_name.

Referenced by deleteImageFile(), getImageFilePath(), hasImageFile(), and save().

245  : string
246  {
248  }
+ Here is the caller graph for this function:

◆ getLoginElementType()

ilOpenIdConnectSettings::getLoginElementType ( )
Returns
int

Definition at line 229 of file class.ilOpenIdConnectSettings.php.

References $login_element_type.

Referenced by save().

229  : int
230  {
232  }
+ Here is the caller graph for this function:

◆ getLoginPromptType()

ilOpenIdConnectSettings::getLoginPromptType ( )
Returns
int

Definition at line 272 of file class.ilOpenIdConnectSettings.php.

References $login_prompt_type.

Referenced by save().

272  : int
273  {
275  }
+ Here is the caller graph for this function:

◆ getLogoutScope()

ilOpenIdConnectSettings::getLogoutScope ( )
Returns
int

Definition at line 288 of file class.ilOpenIdConnectSettings.php.

References $logout_scope.

Referenced by save().

288  : int
289  {
290  return $this->logout_scope;
291  }
+ Here is the caller graph for this function:

◆ getProfileMappingFields()

ilOpenIdConnectSettings::getProfileMappingFields ( )
Returns
array

Definition at line 549 of file class.ilOpenIdConnectSettings.php.

Referenced by load(), and save().

549  : array
550  {
551  return [
552  'firstname' => 'firstname',
553  'lastname' => 'lastname',
554  'email' => 'email',
555  'birthday' => 'birthday'
556  ];
557  }
+ Here is the caller graph for this function:

◆ getProfileMappingFieldUpdate()

ilOpenIdConnectSettings::getProfileMappingFieldUpdate ( string  $field)
Parameters
string$value
Returns
bool

Definition at line 531 of file class.ilOpenIdConnectSettings.php.

Referenced by save().

531  : bool
532  {
533  return (bool) $this->profile_update_map[$field];
534  }
+ Here is the caller graph for this function:

◆ getProfileMappingFieldValue()

ilOpenIdConnectSettings::getProfileMappingFieldValue ( string  $field)
Parameters
string$field

Definition at line 513 of file class.ilOpenIdConnectSettings.php.

Referenced by save().

513  : string
514  {
515  return (string) $this->profile_map[$field];
516  }
+ Here is the caller graph for this function:

◆ getProvider()

ilOpenIdConnectSettings::getProvider ( )
Returns
string

Definition at line 181 of file class.ilOpenIdConnectSettings.php.

References $provider.

Referenced by save().

181  : string
182  {
183  return $this->provider;
184  }
+ Here is the caller graph for this function:

◆ getRole()

ilOpenIdConnectSettings::getRole ( )
Returns
int

Definition at line 352 of file class.ilOpenIdConnectSettings.php.

References $role.

Referenced by save().

352  : int
353  {
354  return $this->role;
355  }
+ Here is the caller graph for this function:

◆ getRoleMappings()

ilOpenIdConnectSettings::getRoleMappings ( )

Get role mappings.

Definition at line 421 of file class.ilOpenIdConnectSettings.php.

References $role_mappings.

Referenced by save().

421  : array
422  {
423  return (array) $this->role_mappings;
424  }
+ Here is the caller graph for this function:

◆ getRoleMappingUpdateForId()

ilOpenIdConnectSettings::getRoleMappingUpdateForId (   $a_role_id)
Parameters
$a_role_id
Returns
string

Definition at line 445 of file class.ilOpenIdConnectSettings.php.

445  : bool
446  {
447  if (
448  isset($this->role_mappings[$a_role_id]) &&
449  isset($this->role_mappings[$a_role_id]['update'])
450  ) {
451  return (bool) $this->role_mappings[$a_role_id]['update'];
452  }
453  return '';
454  }

◆ getRoleMappingValueForId()

ilOpenIdConnectSettings::getRoleMappingValueForId (   $a_role_id)
Parameters
$a_role_id
Returns
string

Definition at line 430 of file class.ilOpenIdConnectSettings.php.

430  : string
431  {
432  if (
433  isset($this->role_mappings[$a_role_id]) &&
434  isset($this->role_mappings[$a_role_id]['value'])
435  ) {
436  return (string) $this->role_mappings[$a_role_id]['value'];
437  }
438  return '';
439  }

◆ getSecret()

ilOpenIdConnectSettings::getSecret ( )

Get secret.

Definition at line 213 of file class.ilOpenIdConnectSettings.php.

References $secret.

Referenced by save().

213  : string
214  {
215  return $this->secret;
216  }
+ Here is the caller graph for this function:

◆ getSessionDuration()

ilOpenIdConnectSettings::getSessionDuration ( )
Returns
int

Definition at line 320 of file class.ilOpenIdConnectSettings.php.

References $session_duration.

Referenced by save().

320  : int
321  {
323  }
+ Here is the caller graph for this function:

◆ getUidField()

ilOpenIdConnectSettings::getUidField ( )
Returns
string

Definition at line 368 of file class.ilOpenIdConnectSettings.php.

References $uid.

Referenced by save().

368  : string
369  {
370  return $this->uid;
371  }
+ Here is the caller graph for this function:

◆ hasImageFile()

ilOpenIdConnectSettings::hasImageFile ( )
Returns
bool

Definition at line 389 of file class.ilOpenIdConnectSettings.php.

References getLoginElementImage().

389  : bool
390  {
391  return
392  strlen($this->getLoginElementImage()) &&
393  $this->filesystem->has(self::FILE_STORAGE . '/' . $this->getLoginElementImage());
394  }
+ Here is the call graph for this function:

◆ isCustomSession()

ilOpenIdConnectSettings::isCustomSession ( )
Returns
bool

Definition at line 304 of file class.ilOpenIdConnectSettings.php.

References $custom_session.

Referenced by save().

304  : bool
305  {
306  return $this->custom_session;
307  }
+ Here is the caller graph for this function:

◆ isSyncAllowed()

ilOpenIdConnectSettings::isSyncAllowed ( )
Returns
bool

Definition at line 328 of file class.ilOpenIdConnectSettings.php.

References $allow_sync.

Referenced by save().

328  : bool
329  {
330  return $this->allow_sync;
331  }
+ Here is the caller graph for this function:

◆ load()

ilOpenIdConnectSettings::load ( )
protected

Load from settings.

Definition at line 486 of file class.ilOpenIdConnectSettings.php.

References allowSync(), getProfileMappingFields(), setActive(), setClientId(), setLoginElementImage(), setLoginElementText(), setLoginElementType(), setLoginPromptType(), setLogoutScope(), setProvider(), setRole(), setRoleMappings(), setSecret(), setSessionDuration(), setUidField(), and useCustomSession().

Referenced by __construct().

487  {
488  foreach ($this->getProfileMappingFields() as $field => $lang_key) {
489  $this->profile_map[$field] = (string) $this->storage->get('pmap_' . $field, '');
490  $this->profile_update_map[$field] = (bool) $this->storage->get('pumap_' . $field, '');
491  }
492 
493  $this->setActive((bool) $this->storage->get('active', 0));
494  $this->setProvider($this->storage->get('provider', ''));
495  $this->setClientId($this->storage->get('client_id', ''));
496  $this->setSecret($this->storage->get('secret', ''));
497  $this->setLoginElementImage($this->storage->get('le_img', ''));
498  $this->setLoginElementText($this->storage->get('le_text'));
499  $this->setLoginElementType($this->storage->get('le_type'));
500  $this->setLoginPromptType((int) $this->storage->get('prompt_type', self::LOGIN_ENFORCE));
501  $this->setLogoutScope((int) $this->storage->get('logout_scope', self::LOGOUT_SCOPE_GLOBAL));
502  $this->useCustomSession((bool) $this->storage->get('custom_session'), false);
503  $this->setSessionDuration((int) $this->storage->get('session_duration', 60));
504  $this->allowSync((bool) $this->storage->get('allow_sync'), false);
505  $this->setRole((int) $this->storage->get('role'), 0);
506  $this->setUidField((string) $this->storage->get('uid'), '');
507  $this->setRoleMappings((array) unserialize($this->storage->get('role_mappings', serialize([]))));
508  }
setRoleMappings(array $a_role_mappings)
setLoginElementType(int $type)
Set login element type.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ save()

ilOpenIdConnectSettings::save ( )

Save in settings.

Definition at line 459 of file class.ilOpenIdConnectSettings.php.

References getActive(), getClientId(), getLoginElemenText(), getLoginElementImage(), getLoginElementType(), getLoginPromptType(), getLogoutScope(), getProfileMappingFields(), getProfileMappingFieldUpdate(), getProfileMappingFieldValue(), getProvider(), getRole(), getRoleMappings(), getSecret(), getSessionDuration(), getUidField(), isCustomSession(), and isSyncAllowed().

460  {
461  $this->storage->set('active', (int) $this->getActive());
462  $this->storage->set('provider', $this->getProvider());
463  $this->storage->set('client_id', $this->getClientId());
464  $this->storage->set('secret', $this->getSecret());
465  $this->storage->set('le_img', $this->getLoginElementImage());
466  $this->storage->set('le_text', $this->getLoginElemenText());
467  $this->storage->set('le_type', $this->getLoginElementType());
468  $this->storage->set('prompt_type', $this->getLoginPromptType());
469  $this->storage->set('logout_scope', $this->getLogoutScope());
470  $this->storage->set('custom_session', (int) $this->isCustomSession());
471  $this->storage->set('session_duration', (int) $this->getSessionDuration());
472  $this->storage->set('allow_sync', (int) $this->isSyncAllowed());
473  $this->storage->set('role', (int) $this->getRole());
474  $this->storage->set('uid', (string) $this->getUidField());
475 
476  foreach ($this->getProfileMappingFields() as $field => $lang_key) {
477  $this->storage->set('pmap_' . $field, $this->getProfileMappingFieldValue($field));
478  $this->storage->set('pumap_' . $field, $this->getProfileMappingFieldUpdate($field));
479  }
480  $this->storage->set('role_mappings', (string) serialize($this->getRoleMappings()));
481  }
+ Here is the call graph for this function:

◆ setActive()

ilOpenIdConnectSettings::setActive ( bool  $active)
Parameters
bool$active

Definition at line 157 of file class.ilOpenIdConnectSettings.php.

References $active.

Referenced by load().

158  {
159  $this->active = $active;
160  }
+ Here is the caller graph for this function:

◆ setClientId()

ilOpenIdConnectSettings::setClientId ( string  $client_id)
Parameters
string$client_id

Definition at line 189 of file class.ilOpenIdConnectSettings.php.

References $client_id.

Referenced by load().

190  {
191  $this->client_id = $client_id;
192  }
+ Here is the caller graph for this function:

◆ setLoginElementImage()

ilOpenIdConnectSettings::setLoginElementImage ( string  $a_img_name)
Parameters
string$a_img_name

Definition at line 237 of file class.ilOpenIdConnectSettings.php.

Referenced by load().

238  {
239  $this->login_element_img_name = $a_img_name;
240  }
+ Here is the caller graph for this function:

◆ setLoginElementText()

ilOpenIdConnectSettings::setLoginElementText ( string  $text)

Definition at line 250 of file class.ilOpenIdConnectSettings.php.

References $text.

Referenced by load().

251  {
252  $this->login_element_text = $text;
253  }
$text
Definition: errorreport.php:18
+ Here is the caller graph for this function:

◆ setLoginElementType()

ilOpenIdConnectSettings::setLoginElementType ( int  $type)

Set login element type.

Definition at line 221 of file class.ilOpenIdConnectSettings.php.

References $type.

Referenced by load().

222  {
223  $this->login_element_type = $type;
224  }
$type
+ Here is the caller graph for this function:

◆ setLoginPromptType()

ilOpenIdConnectSettings::setLoginPromptType ( int  $a_type)
Parameters
int$a_type

Definition at line 264 of file class.ilOpenIdConnectSettings.php.

References $a_type.

Referenced by load().

265  {
266  $this->login_prompt_type = $a_type;
267  }
$a_type
Definition: workflow.php:92
+ Here is the caller graph for this function:

◆ setLogoutScope()

ilOpenIdConnectSettings::setLogoutScope ( int  $a_scope)
Parameters
int$a_scope

Definition at line 280 of file class.ilOpenIdConnectSettings.php.

Referenced by load().

281  {
282  $this->logout_scope = $a_scope;
283  }
+ Here is the caller graph for this function:

◆ setProfileMappingFieldUpdate()

ilOpenIdConnectSettings::setProfileMappingFieldUpdate ( string  $field,
bool  $value 
)
Parameters
string$field
bool$value

Definition at line 540 of file class.ilOpenIdConnectSettings.php.

541  {
542  $this->profile_update_map[$field] = $value;
543  }

◆ setProfileMappingFieldValue()

ilOpenIdConnectSettings::setProfileMappingFieldValue ( string  $field,
string  $value 
)
Parameters
string$field
string$value

Definition at line 522 of file class.ilOpenIdConnectSettings.php.

523  {
524  $this->profile_map[$field] = $value;
525  }

◆ setProvider()

ilOpenIdConnectSettings::setProvider ( string  $url)
Parameters
string$url

Definition at line 173 of file class.ilOpenIdConnectSettings.php.

References $url.

Referenced by load().

174  {
175  $this->provider = $url;
176  }
$url
+ Here is the caller graph for this function:

◆ setRole()

ilOpenIdConnectSettings::setRole ( int  $role)
Parameters
int$role

Definition at line 344 of file class.ilOpenIdConnectSettings.php.

References $role.

Referenced by load().

345  {
346  $this->role = $role;
347  }
+ Here is the caller graph for this function:

◆ setRoleMappings()

ilOpenIdConnectSettings::setRoleMappings ( array  $a_role_mappings)
Parameters
array$a_role_mappings

Definition at line 413 of file class.ilOpenIdConnectSettings.php.

Referenced by load().

414  {
415  $this->role_mappings = $a_role_mappings;
416  }
+ Here is the caller graph for this function:

◆ setSecret()

ilOpenIdConnectSettings::setSecret ( string  $secret)
Parameters
string$secret

Definition at line 205 of file class.ilOpenIdConnectSettings.php.

References $secret.

Referenced by load().

206  {
207  $this->secret = $secret;
208  }
+ Here is the caller graph for this function:

◆ setSessionDuration()

ilOpenIdConnectSettings::setSessionDuration ( int  $a_duration)
Parameters
int$a_duration

Definition at line 312 of file class.ilOpenIdConnectSettings.php.

Referenced by load().

313  {
314  $this->session_duration = $a_duration;
315  }
+ Here is the caller graph for this function:

◆ setUidField()

ilOpenIdConnectSettings::setUidField ( string  $field)
Parameters
string$field

Definition at line 360 of file class.ilOpenIdConnectSettings.php.

Referenced by load().

361  {
362  $this->uid = $field;
363  }
+ Here is the caller graph for this function:

◆ useCustomSession()

ilOpenIdConnectSettings::useCustomSession ( bool  $a_stat)
Parameters
bool$a_stat

Definition at line 296 of file class.ilOpenIdConnectSettings.php.

Referenced by load().

297  {
298  $this->custom_session = $a_stat;
299  }
+ Here is the caller graph for this function:

Field Documentation

◆ $active

ilOpenIdConnectSettings::$active = false
private

Definition at line 46 of file class.ilOpenIdConnectSettings.php.

Referenced by getActive(), and setActive().

◆ $allow_sync

ilOpenIdConnectSettings::$allow_sync
private

Definition at line 102 of file class.ilOpenIdConnectSettings.php.

Referenced by isSyncAllowed().

◆ $client_id

ilOpenIdConnectSettings::$client_id = ''
private

Definition at line 56 of file class.ilOpenIdConnectSettings.php.

Referenced by getClientId(), and setClientId().

◆ $custom_session

ilOpenIdConnectSettings::$custom_session = false
private

Definition at line 92 of file class.ilOpenIdConnectSettings.php.

Referenced by isCustomSession().

◆ $filesystem

ilOpenIdConnectSettings::$filesystem = null
private

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

◆ $instance

ilOpenIdConnectSettings::$instance = null
staticprivate

Definition at line 29 of file class.ilOpenIdConnectSettings.php.

◆ $login_element_img_name

ilOpenIdConnectSettings::$login_element_img_name
private

Definition at line 71 of file class.ilOpenIdConnectSettings.php.

Referenced by getLoginElementImage().

◆ $login_element_text

ilOpenIdConnectSettings::$login_element_text
private

Definition at line 76 of file class.ilOpenIdConnectSettings.php.

Referenced by getLoginElemenText().

◆ $login_element_type

ilOpenIdConnectSettings::$login_element_type = self::LOGIN_ELEMENT_TYPE_TXT
private

Definition at line 66 of file class.ilOpenIdConnectSettings.php.

Referenced by getLoginElementType().

◆ $login_prompt_type

ilOpenIdConnectSettings::$login_prompt_type = self::LOGIN_ENFORCE
private

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

Referenced by getLoginPromptType().

◆ $logout_scope

ilOpenIdConnectSettings::$logout_scope
private

Definition at line 87 of file class.ilOpenIdConnectSettings.php.

Referenced by getLogoutScope().

◆ $profile_map

ilOpenIdConnectSettings::$profile_map = []
private

Definition at line 117 of file class.ilOpenIdConnectSettings.php.

◆ $profile_update_map

ilOpenIdConnectSettings::$profile_update_map = []
private

Definition at line 122 of file class.ilOpenIdConnectSettings.php.

◆ $provider

ilOpenIdConnectSettings::$provider = ''
private

Definition at line 51 of file class.ilOpenIdConnectSettings.php.

Referenced by getProvider().

◆ $role

ilOpenIdConnectSettings::$role
private

Definition at line 107 of file class.ilOpenIdConnectSettings.php.

Referenced by getRole(), and setRole().

◆ $role_mappings

ilOpenIdConnectSettings::$role_mappings = []
private

Definition at line 127 of file class.ilOpenIdConnectSettings.php.

Referenced by getRoleMappings().

◆ $secret

ilOpenIdConnectSettings::$secret = ''
private

Definition at line 61 of file class.ilOpenIdConnectSettings.php.

Referenced by getSecret(), and setSecret().

◆ $session_duration

ilOpenIdConnectSettings::$session_duration = 60
private

Definition at line 97 of file class.ilOpenIdConnectSettings.php.

Referenced by getSessionDuration().

◆ $storage

ilOpenIdConnectSettings::$storage = null
private

Definition at line 35 of file class.ilOpenIdConnectSettings.php.

◆ $uid

ilOpenIdConnectSettings::$uid = ''
private

Definition at line 112 of file class.ilOpenIdConnectSettings.php.

Referenced by getUidField().

◆ FILE_STORAGE

const ilOpenIdConnectSettings::FILE_STORAGE = 'openidconnect/login_form_image'

◆ LOGIN_ELEMENT_TYPE_IMG

const ilOpenIdConnectSettings::LOGIN_ELEMENT_TYPE_IMG = 1

◆ LOGIN_ELEMENT_TYPE_TXT

const ilOpenIdConnectSettings::LOGIN_ELEMENT_TYPE_TXT = 0

◆ LOGIN_ENFORCE

const ilOpenIdConnectSettings::LOGIN_ENFORCE = 0

◆ LOGIN_STANDARD

const ilOpenIdConnectSettings::LOGIN_STANDARD = 1

◆ LOGOUT_SCOPE_GLOBAL

const ilOpenIdConnectSettings::LOGOUT_SCOPE_GLOBAL = 0

◆ LOGOUT_SCOPE_LOCAL

const ilOpenIdConnectSettings::LOGOUT_SCOPE_LOCAL = 1

◆ STORAGE_ID

const ilOpenIdConnectSettings::STORAGE_ID = 'oidc'

Definition at line 14 of file class.ilOpenIdConnectSettings.php.


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