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
파일 보기 프로젝트 열기: simplesamlphp/simplesamlphp 1 사용 예제들

공개 메소드들

메소드 설명
__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 )