From b0151c51bc3b8efa95b7679f929b376b212d6057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Wed, 29 Apr 2009 07:37:07 +0000 Subject: [PATCH] Add support for including scopes in metadata for saml 2.0 idp git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1478 44740490-163a-0410-bde0-09ae8108e29a --- www/saml2/idp/metadata.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/saml2/idp/metadata.php b/www/saml2/idp/metadata.php index 1faf98643..d24c73c80 100644 --- a/www/saml2/idp/metadata.php +++ b/www/saml2/idp/metadata.php @@ -59,6 +59,9 @@ try { if (array_key_exists('url', $idpmeta)) { $metaArray['url'] = $idpmeta['url']; } + if (array_key_exists('scope', $idpmeta)) { + $metaArray['scope'] = $idpmeta['scope']; + } $metaflat = var_export($idpentityid, TRUE) . ' => ' . var_export($metaArray, TRUE) . ','; -- GitLab