PHP code example of niif / simplesamlphp-module-hexaa
1. Go to this page and download the library: Download niif/simplesamlphp-module-hexaa library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
niif / simplesamlphp-module-hexaa example snippets
authproc.aa = array(
...
'60' => array(
'class' => 'hexaa:Hexaa',
'nameId_attribute_name' => 'subject_nameid', // look at the aa authsource config
'hexaa_api_url' => 'https://www.hexaa.example.com/app.php/api',
'hexaa_master_secret' => 'you_can_get_it_from_the_hexaa_administrator'
),