From fe607483ac2e0bc5573ca153e6c9995ee245d3be Mon Sep 17 00:00:00 2001 From: "Bjorn R. Jensen" <bjensen@fastmail.fm> Date: Wed, 15 Feb 2017 21:43:20 +0100 Subject: [PATCH] improved documentation of the use of attributes and attributes.required in authsources.php --- config-templates/authsources.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config-templates/authsources.php b/config-templates/authsources.php index 049cad554..6afe41781 100644 --- a/config-templates/authsources.php +++ b/config-templates/authsources.php @@ -51,11 +51,16 @@ $config = array( /* * The attributes parameter must contain an array of desired attributes by the SP. * The attributes can be expressed as an array of names or as an associative array - * in the form of 'friendlyName' => 'name'. + * in the form of 'friendlyName' => 'name'. This feature requires 'name' to be set. * The metadata will then be created as follows: * <md:RequestedAttribute FriendlyName="friendlyName" Name="name" /> */ - /*'attributes' => array( + /*'name' => array( + 'en' => 'A service', + 'no' => 'En tjeneste', + ), + + 'attributes' => array( 'attrname' => 'urn:oid:x.x.x.x', ),*/ /*'attributes.required' => array ( -- GitLab