ILIAS
Release_4_4_x_branch Revision 61816
|
Stores OpenId related settings More...
Public Member Functions | |
isActive () | |
Is open id auth active. | |
setActive ($a_status) | |
Set open id active. | |
forcedProviderSelection () | |
is provider selection forced | |
forceProviderSelection ($a_status) | |
Set force selection status. | |
isCreationEnabled () | |
Is account creation enabled. | |
enableCreation ($a_status) | |
Enable account creation. | |
isAccountMigrationEnabled () | |
Is account migration enabled. | |
enableAccountMigration ($a_status) | |
Enable account migration. | |
getDefaultRole () | |
Get default role. | |
setDefaultRole ($a_role) | |
Set default role. | |
update () | |
Update settings. | |
getConsumer () | |
Get open id consumer. | |
getReturnLocation () | |
Get oid return location. | |
initConsumer () |
Static Public Member Functions | |
static | getInstance () |
Get singleton instance. |
Protected Member Functions | |
read () | |
Read settings from db. | |
initTempDir () | |
Init Temp directory. |
Private Member Functions | |
__construct () | |
Singleton constructor. |
Private Attributes | |
$storage = null | |
$active = false | |
$account_migration = false | |
$default_role = 0 | |
$creation = false | |
$forced_selection = false | |
$consumer = null |
Static Private Attributes | |
static | $instance = null |
Stores OpenId related settings
Definition at line 13 of file class.ilOpenIdSettings.php.
|
private |
Singleton constructor.
Definition at line 30 of file class.ilOpenIdSettings.php.
References read().
ilOpenIdSettings::enableAccountMigration | ( | $a_status | ) |
Enable account migration.
bool | $a_status |
Definition at line 121 of file class.ilOpenIdSettings.php.
Referenced by read().
ilOpenIdSettings::enableCreation | ( | $a_status | ) |
Enable account creation.
bool | $a_status |
Definition at line 102 of file class.ilOpenIdSettings.php.
Referenced by read().
ilOpenIdSettings::forcedProviderSelection | ( | ) |
is provider selection forced
Definition at line 73 of file class.ilOpenIdSettings.php.
References $forced_selection.
Referenced by update().
ilOpenIdSettings::forceProviderSelection | ( | $a_status | ) |
Set force selection status.
bool | $a_status |
Definition at line 83 of file class.ilOpenIdSettings.php.
Referenced by read().
ilOpenIdSettings::getConsumer | ( | ) |
Get open id consumer.
Definition at line 175 of file class.ilOpenIdSettings.php.
References $consumer.
ilOpenIdSettings::getDefaultRole | ( | ) |
Get default role.
Definition at line 130 of file class.ilOpenIdSettings.php.
References $default_role.
Referenced by update().
|
static |
Get singleton instance.
Definition at line 40 of file class.ilOpenIdSettings.php.
References $instance.
Referenced by ilOpenIdAttributeToUser\__construct(), ilOpenIdSettingsGUI\__construct(), ilAuthUtils\_getActiveAuthModes(), ilAuthUtils\_isExternalAccountEnabled(), ilOpenIdProviders\getSelectedProvider(), ilAuthOpenId\initSettings(), ilAuthContainerOpenId\initSettings(), and ilStartUpGUI\showOpenIdLoginForm().
ilOpenIdSettings::getReturnLocation | ( | ) |
Get oid return location.
Definition at line 184 of file class.ilOpenIdSettings.php.
References $ilCtrl.
ilOpenIdSettings::initConsumer | ( | ) |
Definition at line 208 of file class.ilOpenIdSettings.php.
References ilUtil\getDataDir(), and initTempDir().
|
protected |
Init Temp directory.
Definition at line 199 of file class.ilOpenIdSettings.php.
References ilUtil\getDataDir(), and ilUtil\makeDir().
Referenced by initConsumer().
ilOpenIdSettings::isAccountMigrationEnabled | ( | ) |
Is account migration enabled.
Definition at line 111 of file class.ilOpenIdSettings.php.
References $account_migration.
Referenced by update().
ilOpenIdSettings::isActive | ( | ) |
Is open id auth active.
Definition at line 54 of file class.ilOpenIdSettings.php.
References $active.
Referenced by update().
ilOpenIdSettings::isCreationEnabled | ( | ) |
Is account creation enabled.
Definition at line 92 of file class.ilOpenIdSettings.php.
References $creation.
Referenced by update().
|
protected |
Read settings from db.
Definition at line 149 of file class.ilOpenIdSettings.php.
References enableAccountMigration(), enableCreation(), forceProviderSelection(), setActive(), and setDefaultRole().
Referenced by __construct().
ilOpenIdSettings::setActive | ( | $a_status | ) |
Set open id active.
bool | $a_status |
Definition at line 64 of file class.ilOpenIdSettings.php.
Referenced by read().
ilOpenIdSettings::setDefaultRole | ( | $a_role | ) |
Set default role.
int | $a_role |
Definition at line 140 of file class.ilOpenIdSettings.php.
Referenced by read().
ilOpenIdSettings::update | ( | ) |
Update settings.
Definition at line 162 of file class.ilOpenIdSettings.php.
References forcedProviderSelection(), getDefaultRole(), isAccountMigrationEnabled(), isActive(), and isCreationEnabled().
|
private |
Definition at line 20 of file class.ilOpenIdSettings.php.
Referenced by isAccountMigrationEnabled().
|
private |
Definition at line 19 of file class.ilOpenIdSettings.php.
Referenced by isActive().
|
private |
Definition at line 25 of file class.ilOpenIdSettings.php.
Referenced by getConsumer().
|
private |
Definition at line 22 of file class.ilOpenIdSettings.php.
Referenced by isCreationEnabled().
|
private |
Definition at line 21 of file class.ilOpenIdSettings.php.
Referenced by getDefaultRole().
|
private |
Definition at line 23 of file class.ilOpenIdSettings.php.
Referenced by forcedProviderSelection().
|
staticprivate |
Definition at line 15 of file class.ilOpenIdSettings.php.
Referenced by getInstance().
|
private |
Definition at line 17 of file class.ilOpenIdSettings.php.