PHP Класс 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'),
),
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Метод |
Описание |
|
__construct ( array $config, mixed $reserved ) |
Initialize this filter. |
|
process ( &$state ) |
Apply filter to add the targeted ID. |
|
Приватные методы
Описание методов
__construct()
публичный Метод
process()
публичный Метод
Apply filter to add the targeted ID.