|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
@classDescription Stores OpenId related settings More...
Collaboration diagram for ilOpenIdSettings:Public Member Functions | |
| isActive () | |
| Is open id auth active. More... | |
| setActive ($a_status) | |
| Set open id active. More... | |
| forcedProviderSelection () | |
| is provider selection forced More... | |
| forceProviderSelection ($a_status) | |
| Set force selection status. More... | |
| isCreationEnabled () | |
| Is account creation enabled. More... | |
| enableCreation ($a_status) | |
| Enable account creation. More... | |
| isAccountMigrationEnabled () | |
| Is account migration enabled. More... | |
| enableAccountMigration ($a_status) | |
| Enable account migration. More... | |
| getDefaultRole () | |
| Get default role. More... | |
| setDefaultRole ($a_role) | |
| Set default role. More... | |
| update () | |
| Update settings. More... | |
| getConsumer () | |
| Get open id consumer. More... | |
| getReturnLocation () | |
| Get oid return location. More... | |
| initConsumer () | |
Static Public Member Functions | |
| static | getInstance () |
| Get singleton instance. More... | |
Protected Member Functions | |
| read () | |
| Read settings from db. More... | |
| initTempDir () | |
| Init Temp directory. More... | |
Private Member Functions | |
| __construct () | |
| Singleton constructor. More... | |
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 |
@classDescription 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().
Here is the call graph for this function:| ilOpenIdSettings::enableAccountMigration | ( | $a_status | ) |
Enable account migration.
| bool | $a_status |
Definition at line 121 of file class.ilOpenIdSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilOpenIdSettings::enableCreation | ( | $a_status | ) |
Enable account creation.
| bool | $a_status |
Definition at line 102 of file class.ilOpenIdSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilOpenIdSettings::forcedProviderSelection | ( | ) |
is provider selection forced
Definition at line 73 of file class.ilOpenIdSettings.php.
References $forced_selection.
Referenced by update().
Here is the caller graph for this function:| ilOpenIdSettings::forceProviderSelection | ( | $a_status | ) |
Set force selection status.
| bool | $a_status |
Definition at line 83 of file class.ilOpenIdSettings.php.
Referenced by read().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:
|
static |
Get singleton instance.
Definition at line 40 of file class.ilOpenIdSettings.php.
References $instance.
Referenced by ilOpenIdSettingsGUI\__construct(), ilOpenIdAttributeToUser\__construct(), ilAuthUtils\_getActiveAuthModes(), ilAuthUtils\_isExternalAccountEnabled(), ilOpenIdProviders\getSelectedProvider(), ilAuthContainerOpenId\initSettings(), ilAuthOpenId\initSettings(), and ilStartUpGUI\showOpenIdLoginForm().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
|
protected |
Init Temp directory.
Definition at line 199 of file class.ilOpenIdSettings.php.
References ilUtil\getDataDir(), and ilUtil\makeDir().
Referenced by initConsumer().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOpenIdSettings::isAccountMigrationEnabled | ( | ) |
Is account migration enabled.
Definition at line 111 of file class.ilOpenIdSettings.php.
References $account_migration.
Referenced by update().
Here is the caller graph for this function:| ilOpenIdSettings::isActive | ( | ) |
Is open id auth active.
Definition at line 54 of file class.ilOpenIdSettings.php.
References $active.
Referenced by update().
Here is the caller graph for this function:| ilOpenIdSettings::isCreationEnabled | ( | ) |
Is account creation enabled.
Definition at line 92 of file class.ilOpenIdSettings.php.
References $creation.
Referenced by update().
Here is the caller graph for this function:
|
protected |
Read settings from db.
Definition at line 149 of file class.ilOpenIdSettings.php.
References enableAccountMigration(), enableCreation(), forceProviderSelection(), setActive(), and setDefaultRole().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOpenIdSettings::setActive | ( | $a_status | ) |
Set open id active.
| bool | $a_status |
Definition at line 64 of file class.ilOpenIdSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilOpenIdSettings::setDefaultRole | ( | $a_role | ) |
Set default role.
| int | $a_role |
Definition at line 140 of file class.ilOpenIdSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilOpenIdSettings::update | ( | ) |
Update settings.
Definition at line 162 of file class.ilOpenIdSettings.php.
References forcedProviderSelection(), getDefaultRole(), isAccountMigrationEnabled(), isActive(), and isCreationEnabled().
Here is the call graph for this function:
|
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.