Skip to content
Snippets Groups Projects
Commit 2d77dee0 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Add NameIDFormats to output of getMetadata20IdP()

parent 28f816f0
No related branches found
No related tags found
No related merge requests found
......@@ -653,6 +653,7 @@ class SimpleSAML_Metadata_SAMLParser {
* - '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
* the 'SingleLogoutService' endpoint.
* - 'NameIDFormats': The name ID formats this IdP supports.
* - 'certData': X509Certificate for entity (if present).
* - 'certFingerprint': Fingerprint of the X509Certificate from the metadata.
*
......@@ -695,6 +696,8 @@ class SimpleSAML_Metadata_SAMLParser {
/* Find the ArtifactResolutionService endpoint. */
$ret['ArtifactResolutionService'] = $idp['ArtifactResolutionService'];
/* Add supported nameIDFormats */
$ret['NameIDFormats'] = $idp['nameIDFormats'];
/* Add public 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