sitya / simplesamlphp-module-attributelimit
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 2
Type:simplesamlphp-module
Requires
- php: >=7.4 || ^8.0
- simplesamlphp/composer-module-installer: ~1.3.2
- simplesamlphp/simplesamlphp: ^2.0.0
Requires (Dev)
This package is not auto-updated.
Last update: 2024-11-12 23:59:04 UTC
README
Install
composer require niif/simplesamlphp-module-attributelimit
Usage
This module is a forked version of SimpleSAMLphp core:AttributeLimit
. It adds the functionality of specifying bilateral attribute relations in addition to the attribute rules defined in the peer's metadata. You can both specify SP entityIDs where you send some additional attributes (bilateralSPs) and special attributes to send to some SPs (bilateralAttributes).
Example configuration:
$config = array(
'class' => 'niif:AttributeLimit',
'bilateralSPs' => array(
'entityid1' => array(
'attr1',
'attr2'
),
'entityid2' => array(
'attr1',
'attr2'
),
),
'bilateralAttributes' => array(
'attr1' => array(
'entityid1',
'entityid2'
),
'attr2' => array(
'entityid1',
'entityid2'
),
),
'attribute_x', 'attribute_y',
)