9 if (!array_key_exists(
'entityid', $_REQUEST)) {
10 throw new Exception(
'required parameter [entityid] missing');
12 if (!array_key_exists(
'set', $_REQUEST)) {
13 throw new Exception(
'required parameter [set] missing');
17 array(
'saml20-idp-remote',
'saml20-sp-remote',
'shib13-idp-remote',
'shib13-sp-remote'),
25 $m =
$metadata->getMetadata($_REQUEST[
'entityid'], $_REQUEST[
'set']);
28 $t->data[
'clipboard.js'] =
true;
29 $t->data[
'pageid'] =
'show_metadata';
30 $t->data[
'header'] =
'SimpleSAMLphp Show Metadata';
static requireAdmin()
Require admin access to the current page.
static getModuleURL($resource, array $parameters=array())
Get absolute URL to a specified module resource.
Create styles array
The data for the language used.
static getSessionFromRequest()
Retrieves the current session.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.