nettsiden/www/login/index.php

11 lines
229 B
PHP
Raw Normal View History

2017-10-22 15:37:03 +02:00
<?php
require_once(__DIR__ . '/../../vendor/simplesamlphp/simplesamlphp/lib/_autoload.php');
$as = new SimpleSAML_Auth_Simple('default-sp');
$as->requireAuth();
$attributes = $as->getAttributes();
print_r($attributes);
?>
test