ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
disco.php
Go to the documentation of this file.
1 <?php
2 
3 try {
4  $discoHandler = new sspmod_discopower_PowerIdPDisco(array('saml20-idp-remote', 'shib13-idp-remote'), 'poweridpdisco');
5 } catch (Exception $exception) {
6  // An error here should be caused by invalid query parameters
7  throw new SimpleSAML_Error_Error('DISCOPARAMS', $exception);
8 }
9 
10 try {
11  $discoHandler->handleRequest();
12 } catch(Exception $exception) {
13  // An error here should be caused by metadata
14  throw new SimpleSAML_Error_Error('METADATA', $exception);
15 }
$discoHandler
Built-in IdP discovery service.
Definition: disco.php:7
Create styles array
The data for the language used.