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'), ),
Автор: Olav Morken, UNINETT AS.
Наследование: extends SimpleSAML_Auth_ProcessingFilter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( array $config, mixed $reserved ) Initialize this filter.
process ( &$state ) Apply filter to add the targeted ID.

Приватные методы

Метод Описание
getEntityId ( array $metadata ) : string Generate ID from entity metadata.

Описание методов

__construct() публичный Метод

Initialize this filter.
public __construct ( array $config, mixed $reserved )
$config array Configuration information about this filter.
$reserved mixed For future use.

process() публичный Метод

Apply filter to add the targeted ID.
public process ( &$state )