PHP code example of informaticauco / simplesamlphp-module-authchain

1. Go to this page and download the library: Download informaticauco/simplesamlphp-module-authchain 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/ */

    

informaticauco / simplesamlphp-module-authchain example snippets




use SimpleSAML\Modules\AuthChain\Auth\Source\AuthChain;

$config['as1'] = [/*...*/];
$config['as2'] = [/*...*/];

$config['chained'] = [AuthChain::class,
    'sources' => ['as1', 'as2'],
];