PHP Class sspmod_core_Auth_Process_TargetedID, simplesamlphp
By default, this filter will generate the ID based on the UserID of the current user.
This is by default generated from the attribute configured in 'userid.attribute' in the
metadata. If this attribute isn't present, the userid will be generated from the
eduPersonPrincipalName attribute, if it is present.
It is possible to generate this attribute from another attribute by specifying this attribute
in this configuration.
Example - generate from user ID:
'authproc' => array(
50 => 'core:TargetedID',
)
Example - generate from mail-attribute:
'authproc' => array(
50 => array('class' => 'core:TargetedID' , 'attributename' => 'mail'),
),
Exibir arquivo
Open project: simplesamlphp/simplesamlphp
Class Usage Examples
Public Methods
Method |
Description |
|
__construct ( array $config, mixed $reserved ) |
Initialize this filter. |
|
process ( &$state ) |
Apply filter to add the targeted ID. |
|
Private Methods
Method Details
__construct()
public method
Apply filter to add the targeted ID.