Lines Matching refs:attributes
330 // If you need to specify requested attributes, set a
793 $attributes = $_SESSION['samlUserdata'];
798 if (!empty($attributes)) {
799 echo '<h2>'._('User attributes:').'</h2>';
801 foreach ($attributes as $attributeName => $attributeValues) {
810 echo _('No attributes found.');
830 In order to retrieve attributes we can use:
833 $attributes = $auth->getAttributes();
839 If we execute ```print_r($attributes)``` we could get:
864 Each attribute name can be used as an index into `$attributes` to obtain the value. Every attribute…
871 $attributes = $auth->getAttributes();
872 print_r($attributes['cn']);
882 no attributes in the SAML assertion, an empty array will be
1084 We can code a unique file that initiates the SSO process, handle the response, get the attributes, …
1111 // attributes and put then at
1142 $attributes = $_SESSION['samlUserdata'];
1143 echo 'You have the following attributes:<br>';
1145 foreach ($attributes as $attributeName => $attributeValues) {
1324 * `getAttributes` - Returns the set of SAML attributes.
1566 4. We are logged in the app and the user attributes are showed.
1642 3. We are logged into the app and the user attributes (if any) are shown.