7 if (!
$config->getBoolean(
'enable.saml20-idp',
false)) {
12 if (
$config->getBoolean(
'admin.protectmetadata',
false)) {
33 header(
'Content-Disposition: attachment; filename='.substr(
$_SERVER[
'PATH_INFO'], 1));
34 header(
'Content-Type: application/x-x509-ca-cert');
static requireAdmin()
Require admin access to the current page.
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
if(! $config->getBoolean('enable.saml20-idp', false)) if($config->getBoolean('admin.protectmetadata', false)) $idpentityid
static loadPublicKey(\SimpleSAML_Configuration $metadata, $required=false, $prefix='')
Get public key or certificate from metadata.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.