ILIAS
Release_4_2_x_branch Revision 61807
|
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 120 of file class.ilOpenIdSettings.php.
Referenced by read().
ilOpenIdSettings::enableCreation | ( | $a_status | ) |
Enable account creation.
bool | $a_status |
Definition at line 101 of file class.ilOpenIdSettings.php.
Referenced by read().
ilOpenIdSettings::forcedProviderSelection | ( | ) |
is provider selection forced
Definition at line 72 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 82 of file class.ilOpenIdSettings.php.
Referenced by read().
ilOpenIdSettings::getConsumer | ( | ) |
Get open id consumer.
Definition at line 174 of file class.ilOpenIdSettings.php.
References $consumer.
ilOpenIdSettings::getDefaultRole | ( | ) |
Get default role.
Definition at line 129 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 183 of file class.ilOpenIdSettings.php.
References $ilCtrl.
ilOpenIdSettings::initConsumer | ( | ) |
Definition at line 207 of file class.ilOpenIdSettings.php.
References ilUtil\getDataDir(), and initTempDir().
|
protected |
Init Temp directory.
Definition at line 198 of file class.ilOpenIdSettings.php.
References ilUtil\getDataDir(), and ilUtil\makeDir().
Referenced by initConsumer().
ilOpenIdSettings::isAccountMigrationEnabled | ( | ) |
Is account migration enabled.
Definition at line 110 of file class.ilOpenIdSettings.php.
References $account_migration.
Referenced by update().
ilOpenIdSettings::isActive | ( | ) |
Is open id auth active.
Definition at line 53 of file class.ilOpenIdSettings.php.
References $active.
Referenced by update().
ilOpenIdSettings::isCreationEnabled | ( | ) |
Is account creation enabled.
Definition at line 91 of file class.ilOpenIdSettings.php.
References $creation.
Referenced by update().
|
protected |
Read settings from db.
Definition at line 148 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 63 of file class.ilOpenIdSettings.php.
Referenced by read().
ilOpenIdSettings::setDefaultRole | ( | $a_role | ) |
Set default role.
int | $a_role |
Definition at line 139 of file class.ilOpenIdSettings.php.
Referenced by read().
ilOpenIdSettings::update | ( | ) |
Update settings.
Definition at line 161 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.