PHP code example of rediris-es / simplesamlphp-module-papi
1. Go to this page and download the library: Download rediris-es/simplesamlphp-module-papi 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/ */
rediris-es / simplesamlphp-module-papi example snippets
'example-papi' => array(
'papi:PAPI',
/*
* The site identifier that allows the module to determine which
* configuration of the phpPoA to use.
*/
'site' => 'example',
/*
* The Home Locator Identifier. Use this if your phpPoA configuration
* points to a GPoA instead of an Authentication Server (AS), and you
* want to skip the identity provider selection page, by directly
* selecting one here.
*/
'hli' => 'exampleAS',
),