niif/simplesamlphp-module-attributelimit

There is no license information available for the latest version (v1.0.0) of this package.

Maintainers

Package info

github.com/NIIF/simplesamlphp-module-attributelimit

Type:simplesamlphp-module

pkg:composer/niif/simplesamlphp-module-attributelimit

Statistics

Installs: 311

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 1

v1.0.0 2016-04-18 14:54 UTC

This package is auto-updated.

Last update: 2026-02-16 19:49:36 UTC


README

Build Status Total Downloads Latest Stable Version

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',
)