Add simplesaml setup

This commit is contained in:
2017-10-22 15:37:03 +02:00
parent 473cd000d0
commit d047a99fd3
7 changed files with 58 additions and 6 deletions

10
www/login/index.php Normal file
View File

@@ -0,0 +1,10 @@
<?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