Skip to content
Snippets Groups Projects
Commit 3cd93f0e authored by Jaime Pérez's avatar Jaime Pérez
Browse files

Merge pull request #115 from thijskh/master

Add NameIDFormats to output of getMetadata20IdP()
parents d0efbed5 2d77dee0
No related branches found
No related tags found
No related merge requests found
...@@ -663,6 +663,7 @@ class SimpleSAML_Metadata_SAMLParser { ...@@ -663,6 +663,7 @@ class SimpleSAML_Metadata_SAMLParser {
* - 'SingleLogoutService': String with the URL where we should send logout requests(/responses). * - 'SingleLogoutService': String with the URL where we should send logout requests(/responses).
* - 'SingleLogoutServiceResponse': String where we should send logout responses (if this is different from * - 'SingleLogoutServiceResponse': String where we should send logout responses (if this is different from
* the 'SingleLogoutService' endpoint. * the 'SingleLogoutService' endpoint.
* - 'NameIDFormats': The name ID formats this IdP supports.
* - 'certData': X509Certificate for entity (if present). * - 'certData': X509Certificate for entity (if present).
* - 'certFingerprint': Fingerprint of the X509Certificate from the metadata. * - 'certFingerprint': Fingerprint of the X509Certificate from the metadata.
* *
...@@ -705,6 +706,8 @@ class SimpleSAML_Metadata_SAMLParser { ...@@ -705,6 +706,8 @@ class SimpleSAML_Metadata_SAMLParser {
/* Find the ArtifactResolutionService endpoint. */ /* Find the ArtifactResolutionService endpoint. */
$ret['ArtifactResolutionService'] = $idp['ArtifactResolutionService']; $ret['ArtifactResolutionService'] = $idp['ArtifactResolutionService'];
/* Add supported nameIDFormats */
$ret['NameIDFormats'] = $idp['nameIDFormats'];
/* Add public keys. */ /* Add public keys. */
if (!empty($idp['keys'])) { if (!empty($idp['keys'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment