3 declare(strict_types=1);
89 private ?
int $id = null;
96 private ?
string $key = null;
119 $this->secret = null;
120 $this->signatureMethod =
'HMAC-SHA1';
121 $this->encryptionMethod =
'';
122 $this->rsaKey = null;
125 $this->platformId = null;
126 $this->clientId = null;
127 $this->deploymentId = null;
128 $this->ltiVersion = null;
129 $this->consumerName = null;
130 $this->consumerVersion = null;
131 $this->consumerGuid = null;
132 $this->profile = null;
133 $this->toolProxy = null;
135 $this->
protected =
false;
136 $this->enabled =
false;
137 $this->enableFrom = null;
138 $this->enableUntil = null;
139 $this->lastAccess = null;
141 $this->defaultEmail =
'';
142 $this->created = null;
143 $this->updated = null;
145 $this->authorizationServerId =
'';
146 $this->authenticationUrl =
'';
147 $this->accessTokenUrl =
'';
148 $this->debugMode =
false;
154 $this->ext_consumer_id = $a_id;
164 $this->ref_id = $a_ref_id;
231 $this->user_language =
$lang;
241 $this->active = $value;
251 $this->role = $role_id;
262 $this->enabled = $a_status;
284 $platform->initialize();
285 $platform->platformId = $platformId;
287 $platform->deploymentId = $deploymentId;
303 $platform->initialize();
304 $platform->setKey($key);
321 $platform->initialize();
322 $platform->setRecordId((
int) $id);
339 $platform->initialize();
340 $platform->setExtConsumerId($id);
342 $platform->initialize();
357 $toolConsumer->initialize();
358 $toolConsumer->setExtConsumerId($a_ext_consumer_id);
359 $toolConsumer->setRefId($a_ref_id);
362 if ($consumer_pk != null) {
363 $toolConsumer = self::fromRecordId($consumer_pk, $a_data_connector);
365 return $toolConsumer;
static getLogger(string $a_component_id)
Get component logger.
Class ChatMainBarProvider .
static getDataConnector(object $db=null, string $dbTableNamePrefix='', string $type='')
loadPlatform(\ILIAS\LTI\ToolProvider\Platform $platform)
Load platform object.
lookupRecordIdByGlobalSettingsAndRefId(ilLTIPlatform $platform)
Load extended tool consumer object with ILIAS extension.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
saveToolConsumerILIAS(ilLTIPlatform $platform)
Save extended tool consumer object with ILIAS extensions.
saveGlobalToolConsumerSettings(ilLTIPlatform $platform)
Save platform object.
loadGlobalToolConsumerSettings(ilLTIPlatform $platform)
Load tool consumer settings.
deleteGlobalToolConsumerSettings(ilLTIPlatform $platform)
Delete global tool consumer settings.