PHP code example of mrvanes / simplesamlphp-module-error
1. Go to this page and download the library: Download mrvanes/simplesamlphp-module-error 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/ */
mrvanes / simplesamlphp-module-error example snippets
'authproc' => array(
0 => array(
'class' => 'error:ErrorResponse',
'status' => SAML2\Constants::STATUS_RESPONDER,
'code' => 'FooCode',
'message' => 'Foo Message'
),