4 include_once
'./Services/Administration/classes/class.ilSetting.php';
32 $this->storage =
new ilSetting(
'auth_openid');
42 if(self::$instance != null)
44 return self::$instance;
66 $this->active = $a_status;
85 $this->forced_selection = $a_status;
104 $this->creation = $a_status;
123 $this->account_migration = $a_status;
142 $this->default_role = $a_role;
151 $this->
setActive($this->storage->get(
'active',
false));
164 $this->storage->set(
'active', (
int) $this->
isActive());
166 $this->storage->set(
'default_role',(
int) $this->
getDefaultRole());
188 $ilCtrl->setTargetScript(
'ilias.php');
189 $ilCtrl->setParameterByClass(
'ilstartupgui',
'oid_check_status',1);
190 $redir = ILIAS_HTTP_PATH.
'/';
191 $redir .= $ilCtrl->getLinkTargetByClass(
'ilstartupgui',
'showLogin',
'',
false,
false);
210 include_once
"Auth/OpenID/Consumer.php";
211 include_once
"Auth/OpenID/FileStore.php";
212 include_once
'Auth/OpenID/DumbStore.php';
214 if(is_object($this->consumer))
read()
Read settings from db.
static getInstance()
Get singleton instance.
initTempDir()
Init Temp directory.
isAccountMigrationEnabled()
Is account migration enabled.
setDefaultRole($a_role)
Set default role.
forcedProviderSelection()
is provider selection forced
__construct()
Singleton constructor.
enableCreation($a_status)
Enable account creation.
isCreationEnabled()
Is account creation enabled.
setActive($a_status)
Set open id active.
Stores OpenId related settings
enableAccountMigration($a_status)
Enable account migration.
static makeDir($a_dir)
creates a new directory and inherits all filesystem permissions of the parent directory You may pass ...
getDefaultRole()
Get default role.
static getDataDir()
get data directory (outside webspace)
getReturnLocation()
Get oid return location.
getConsumer()
Get open id consumer.
forceProviderSelection($a_status)
Set force selection status.
isActive()
Is open id auth active.