Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Latest commit

 

History

History
27 lines (21 loc) · 844 Bytes

authproc_pairwiseid.md

File metadata and controls

27 lines (21 loc) · 844 Bytes

subjectidattrs:PairwiseID

Filter to insert a pairwise-id that complies with the SAML V2.0 Subject Identifier Attributes Profile.

This filter will take an attribute and a scope as input and transforms this into a anonymized and scoped identifier that is globally unique for a given user & service provider combination.

Note: Since the subject-id is specified as single-value attribute, only the first value of identifyingAttribute and scopeAttribute are considered.

Examples

    'authproc' => [
        50 => [
            'class' => 'subjectidattrs:PairwiseID',
            'identifyingAttribute' => 'uid',
            'scopeAttribute' => 'scope',
        ],
    ],