blob: e9e2979348cf91a67b2ebc42536d8424f0f903c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<?php
/**
* @var \OAT\Library\Lti1p3Core\Platform\Platform $platform
*/
?>
<dl>
<dt><?= _('Plattform-ID') ?></dt>
<dd>
<a href="<?= htmlReady($platform->getAudience()) ?>">
<?= htmlReady($platform->getAudience()) ?>
</a>
</dd>
<dt><?= _('OAuth2 access token URL') ?></dt>
<dd>
<a href="<?= htmlReady($platform->getOAuth2AccessTokenUrl()) ?>">
<?= htmlReady($platform->getOAuth2AccessTokenUrl()) ?>
</a>
</dd>
<dt><?= _('OIDC authentication URL') ?></dt>
<dd>
<a href="<?= htmlReady($platform->getOidcAuthenticationUrl()) ?>">
<?= htmlReady($platform->getOidcAuthenticationUrl()) ?>
</a>
</dd>
<dt><?= _('JWKS URL') ?></dt>
<dd>
<a href="<?= URLHelper::getLink('dispatch.php/lti/auth/jwks', [], true) ?>">
<?= URLHelper::getLink('dispatch.php/lti/auth/jwks', [], true) ?>
</a>
</dd>
<?
$keyring = \Studip\LTI13a\PlatformManager::getPlatformKeyring();
if (!$keyring) {
$keyring = \Studip\LTI13a\PlatformManager::generatePlatformKeyring();
}
?>
<? if ($keyring) : ?>
<dt><?= _('Öffentlicher Schlüssel') ?></dt>
<dd><pre><?= htmlReady($keyring->public_key) ?></pre></dd>
<? endif ?>
</dl>
|