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

Merge pull request #182 from mschwager/master

Added documentation for AttributeCopy authentication processing filter.
parents 43c54481 286724a7
No related branches found
No related tags found
No related merge requests found
...@@ -128,6 +128,7 @@ The following filters are included in the simpleSAMLphp distribution: ...@@ -128,6 +128,7 @@ The following filters are included in the simpleSAMLphp distribution:
- [`authorize:Authorize`](./authorize:authorize): Access control based on regular expressions. - [`authorize:Authorize`](./authorize:authorize): Access control based on regular expressions.
- [`consent:Consent`](./consent:consent): Ask the user for consent before transmitting attributes. - [`consent:Consent`](./consent:consent): Ask the user for consent before transmitting attributes.
- [`core:AttributeAdd`](./core:authproc_attributeadd): Add attributes to the response. - [`core:AttributeAdd`](./core:authproc_attributeadd): Add attributes to the response.
- [`core:AttributeCopy`](./core:authproc_attributecopy): Copy existing attributes to the response.
- [`core:AttributeAlter`](./core:authproc_attributealter): Do search-and-replace on attributevalues. - [`core:AttributeAlter`](./core:authproc_attributealter): Do search-and-replace on attributevalues.
- [`core:AttributeLimit`](./core:authproc_attributelimit): Limit the attributes in the response. - [`core:AttributeLimit`](./core:authproc_attributelimit): Limit the attributes in the response.
- [`core:AttributeMap`](./core:authproc_attributemap): Change the name of the attributes. - [`core:AttributeMap`](./core:authproc_attributemap): Change the name of the attributes.
......
`core:AttributeCopy`
===================
Filter that renames attributes.
Examples
--------
Copy a single attribute (user's uid will be copied to the user's username):
'authproc' => array(
50 => array(
'class' => 'core:AttributeCopy',
'uid' => 'username',
),
),
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