aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/oauth2/_setup.php
blob: 9554d7f68dff89174a6e82bef356d4700e816724 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
 * @var  Studip\OAuth2\SetupInformation $setup
 */
?>
<ul>
    <li>
        <? $privateKey = $setup->privateKey(); ?>
        <b lang="en">Private Key</b> (<?= htmlReady($privateKey->filename()) ?>)
        <?= $this->render_partial('admin/oauth2/_setup_key.php', ['key' => $privateKey]) ?>
    </li>
    <li>
        <? $publicKey = $setup->publicKey(); ?>
        <b lang="en">Public Key</b> (<?= htmlReady($publicKey->filename()) ?>)
        <?= $this->render_partial('admin/oauth2/_setup_key.php', ['key' => $publicKey]) ?>
    </li>
    <li>
        <? $encryptionKey = $setup->encryptionKey(); ?>
        <b lang="en">Encryption Key</b> (<?= htmlReady($encryptionKey->filename()) ?>)
        <?= $this->render_partial('admin/oauth2/_setup_key.php', ['key' => $encryptionKey]) ?>
    </li>
</ul>