PHP Classes

File: web/SSO/modules/core/docs/authproc_scopeattribute.txt

Recommend this page to a friend!
  Classes of william amed   Raptor 2   web/SSO/modules/core/docs/authproc_scopeattribute.txt   Download  
File: web/SSO/modules/core/docs/authproc_scopeattribute.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 1,101 bytes
 

Contents

Class file image Download
`core:ScopeAttribute` ===================== A filter which combines two attributes into a scoped attribute. Parameters ---------- `scopeAttribute` : The attribute that contains the scope. : If the attribute contains a '@', we will take the scope from the part following the '@'. Otherwise, we will use the entire value. : If the attribute is multi-valued, we will add all the scopes to the target. `sourceAttribute` : The attribute that contains the values we shall add the scope to. : This attribute can be multi-valued, in which case we will add all the values. `targetAttribute` : The attribute we shall add the scoped attributes to. : If the attribute already exists, the new values will be merged into the existing attribute. Example ------- Add eduPersonScopedAffiliation based on eduPersonAffiliation and eduPersonPrincipalName. 10 => array( 'class' => 'core:ScopeAttribute', 'scopeAttribute' => 'eduPersonPrincipalName', 'sourceAttribute' => 'eduPersonAffiliation', 'targetAttribute' => 'eduPersonScopedAffiliation', ),