aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/admin/saml.php
blob: aa65027386b92eadc6dc609f0ac3d2afa277ade3 (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
<?php

use Studip\OAuth2\Container;
use Studip\OAuth2\Models\Client;
use Studip\OAuth2\SetupInformation;

class Admin_SAMLController extends AuthenticatedController
{
    /**
     * @param string $action
     * @param string[] $args
     *
     * @return void
     */
    public function before_filter(&$action, &$args)
    {
        parent::before_filter($action, $args);

        $GLOBALS['perm']->check('root');

        Navigation::activateItem('/admin/config/saml');
        PageLayout::setTitle(_('SAML Verwaltung'));
    }

    public function index_action(): void
    {
        $this->render_vue_app(
            Studip\VueApp::create('SSOSAML')
                ->withProps([
                ])
        );
    }
}