Download the PHP package informaticauco/simplesamlphp-module-ucofilter without Composer
On this page you can find all versions of the php package informaticauco/simplesamlphp-module-ucofilter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download informaticauco/simplesamlphp-module-ucofilter
More information about informaticauco/simplesamlphp-module-ucofilter
Files in informaticauco/simplesamlphp-module-ucofilter
Package simplesamlphp-module-ucofilter
Short Description A SimpleSAMLphp module to filter our own attributes
License MIT
Informations about the package simplesamlphp-module-ucofilter
SimpleSAMLphp Module UCOFilter
This module can be used to add or change attributes using the ExpressionLanguage Symfony component.
Requirements
- PHP>=5.5
Installation
Installation can be as easy as executing:
Uso
From any entity that supports filters (Authentication Processing Filters or authproc) we can use this module in this way:
ExpressionLanguage reference
Functions
This methods are available inside the expressions:
string md5(string)
: call to PHP md5 methodstring sha1(string)
: call to PHP sha1 methodbool in_attribute(array, array)
: search if exists elements from first array in second array. Useful to check if an attribute has a value.
Variables
Value expressions receives all the request attributes as variables. V.g: will be accessible as variable inside expression. Remember than all attributes are arrays.
Rule expressions has three variables:
request
: The complete requestattributes
: Only attributesvalue
: The value to be assigned if the rule is true
Syntax
To see the complete syntax supported by the Expression Language component see the
official documentation site.
All versions of simplesamlphp-module-ucofilter with dependencies
simplesamlphp/composer-module-installer Version ^1.0
symfony/expression-language Version ^2.8|^3.0|^4.0
webmozart/assert Version ^1.3