From 286724a793f6815bd21b776dbee7616318be5a15 Mon Sep 17 00:00:00 2001 From: Matt Schwager <matts@duosecurity.com> Date: Wed, 18 Mar 2015 10:27:05 -0400 Subject: [PATCH] Added documentation for AttributeCopy authentication processing filter. --- docs/simplesamlphp-authproc.txt | 1 + modules/core/docs/authproc_attributecopy.txt | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 modules/core/docs/authproc_attributecopy.txt diff --git a/docs/simplesamlphp-authproc.txt b/docs/simplesamlphp-authproc.txt index 51fae63c4..b00a3fe03 100644 --- a/docs/simplesamlphp-authproc.txt +++ b/docs/simplesamlphp-authproc.txt @@ -128,6 +128,7 @@ The following filters are included in the simpleSAMLphp distribution: - [`authorize:Authorize`](./authorize:authorize): Access control based on regular expressions. - [`consent:Consent`](./consent:consent): Ask the user for consent before transmitting attributes. - [`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:AttributeLimit`](./core:authproc_attributelimit): Limit the attributes in the response. - [`core:AttributeMap`](./core:authproc_attributemap): Change the name of the attributes. diff --git a/modules/core/docs/authproc_attributecopy.txt b/modules/core/docs/authproc_attributecopy.txt new file mode 100644 index 000000000..37c99eaec --- /dev/null +++ b/modules/core/docs/authproc_attributecopy.txt @@ -0,0 +1,18 @@ +`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', + ), + ), + -- GitLab