ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ltiregistration.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22require_once("../vendor/composer/vendor/autoload.php");
23
26
27try {
29 $data = json_decode(ilObjLTIConsumer::getRawData(), true);
32} catch (Exception $e) {
33 ilObjLTIConsumer::sendResponseError(500, "error in ltiregistration.php");
34}
const CONTEXT_SCORM
static init(string $a_type)
Init context by type.
static initILIAS()
ilias initialisation
static sendResponseError(int $code, string $message, $log=true)
static registerClient(array $data, object $tokenObj)
static sendResponseJson(array $obj)
$responseData
$token
Definition: xapitoken.php:70