메소드 | 설명 | |
---|---|---|
__construct ( array $metadataSets, string $instance ) | Initializes this discovery service. | |
handleRequest ( ) | Handles a request to this discovery service. | |
mcmp ( array $a, array $b ) : integer | Compare two entities. |
메소드 | 설명 | |
---|---|---|
filterList ( array $list ) : array | Filter a list of entities according to any filters defined in the parent class, plus discopower configuration options regarding filtering. | |
getPreviousIdP ( ) : string | null | Retrieve the previous IdP the user used. | |
idplistStructured ( array $list ) : array | Structure the list of IdPs in a hierarchy based upon the tags. | |
log ( string $message ) | Log a message. | |
setPreviousIdP ( string $idp ) | Save the current IdP choice to a cookie. |
메소드 | 설명 | |
---|---|---|
getCDC ( ) : array | Get the IdP entities saved in the common domain cookie. | |
processFilter ( array $filter, array $entry, boolean $default = true ) : boolean | Do the actual filtering according the rules defined. |
public __construct ( array $metadataSets, string $instance ) | ||
$metadataSets | array | Array with metadata sets we find remote entities in. |
$instance | string | The name of this instance of the discovery service. |
protected filterList ( array $list ) : array | ||
$list | array | A list of entities to filter. |
리턴 | array | The list in $list after filtering entities. |
protected getPreviousIdP ( ) : string | null | ||
리턴 | string | null | The entity id of the previous IdP the user used, or null if this is the first time. |
public handleRequest ( ) |
protected idplistStructured ( array $list ) : array | ||
$list | array | A list of IdPs. |
리턴 | array | The list of IdPs structured accordingly. |
protected setPreviousIdP ( string $idp ) | ||
$idp | string | The entityID of the IdP. |