3declare(strict_types=1);
25use ILIAS\LTI\ToolProvider\Http\HTTPMessage;
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) {
365 return $toolConsumer;
lookupRecordIdByGlobalSettingsAndRefId(ilLTIPlatform $platform)
Lookup record id for global settings and ref_id.
static getDataConnector(object $db=null, string $dbTableNamePrefix='', string $type='')
loadGlobalToolConsumerSettings(ilLTIPlatform $platform)
Load global tool consumer settings in consumer.
loadPlatform(\ILIAS\LTI\ToolProvider\Platform $platform)
Load platform object.
saveGlobalToolConsumerSettings(ilLTIPlatform $platform)
Save lti_ext_consumer.
deleteGlobalToolConsumerSettings(ilLTIPlatform $platform)
Delete global tool consumer settings.
saveToolConsumerILIAS(ilLTIPlatform $platform)
Save extended tool consumer object with ILIAS extensions.
static getLogger(string $a_component_id)
Get component logger.
Class ChatMainBarProvider \MainMenu\Provider.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...