PHP Classes

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

Recommend this page to a friend!
  Classes of william amed   Raptor 2   web/SSO/modules/core/docs/authproc_attributemap.txt   Download  
File: web/SSO/modules/core/docs/authproc_attributemap.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,149 bytes
 

Contents

Class file image Download
`core:AttributeMap` =================== Filter to change attribute names. This filter can either contain the name of a map file or a set of name => value pairs describing the transformation. If configuration references a map file, the file must be located in the `attributemap/`-directory. It can also create multiple attributes from a single attribute by specifying multiple target attributes as an array. Examples -------- Attribute maps embedded as parameters: 'authproc' => array( 50 => array( 'class' => 'core:AttributeMap', 'mail' => 'email', 'uid' => 'user' 'cn' => array('name', 'displayName'), ), ), Attribute map in separate file: 'authproc' => array( 50 => array( 'class' => 'core:AttributeMap', 'name2oid', ), ), This filter will use the map file from `simpesamlphp/attributemap/name2oid.php`. Duplicate attributes based on a map file: 'authproc' => array( 50 => array( 'class' => 'core:AttributeMap', 'name2urn', 'name2oid', '%duplicate', ), ),