diff options
Diffstat (limited to 'app/controllers/admin/saml.php')
| -rw-r--r-- | app/controllers/admin/saml.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app/controllers/admin/saml.php b/app/controllers/admin/saml.php new file mode 100644 index 0000000..aa65027 --- /dev/null +++ b/app/controllers/admin/saml.php @@ -0,0 +1,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([ + ]) + ); + } +} |
