|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilSimpleSAMLphplIdpDiscovery. More...
Inheritance diagram for ilSimpleSAMLphplIdpDiscovery:
Collaboration diagram for ilSimpleSAMLphplIdpDiscovery:Public Member Functions | |||||||
| __construct () | |||||||
| ilSimpleSAMLphplIdpDiscovery constructor. More... | |||||||
| getMetadataDirectory () | |||||||
| getList () | |||||||
This method should return an array of IDPs.Each element should be an array as well, providing at least a value for key 'entityid'.
| |||||||
| storeIdpMetadata ($idpId, $metadata) | |||||||
| |||||||
| fetchIdpMetadata ($idpId) | |||||||
| |||||||
| deleteIdpMetadata ($idpId) | |||||||
| |||||||
Public Member Functions inherited from SimpleSAML_XHTML_IdPDisco | |||||||
| __construct (array $metadataSets, $instance) | |||||||
| Initializes this discovery service. More... | |||||||
| handleRequest () | |||||||
| Handles a request to this discovery service. More... | |||||||
| getList () | |||||||
| This method should return an array of IDPs. More... | |||||||
| storeIdpMetadata ($idpId, $metadata) | |||||||
| fetchIdpMetadata ($idpId) | |||||||
| deleteIdpMetadata ($idpId) | |||||||
Data Fields | |
| const | METADATA_DIRECTORY = 'auth/saml/metadata' |
Protected Member Functions | |
| getMetadataPath ($idpId) | |
Protected Member Functions inherited from SimpleSAML_XHTML_IdPDisco | |
| log ($message) | |
| Log a message. More... | |
| getCookie ($name) | |
| Retrieve cookie with the given name. More... | |
| setCookie ($name, $value) | |
| Save cookie with the given name and value. More... | |
| validateIdP ($idp) | |
| Validates the given IdP entity id. More... | |
| getSelectedIdP () | |
| Retrieve the users choice of IdP. More... | |
| getSavedIdP () | |
| Retrieve the users saved choice of IdP. More... | |
| getPreviousIdP () | |
| Retrieve the previous IdP the user used. More... | |
| getFromCIDRhint () | |
| Retrieve a recommended IdP based on the IP address of the client. More... | |
| getRecommendedIdP () | |
| Try to determine which IdP the user should most likely use. More... | |
| setPreviousIdP ($idp) | |
| Save the current IdP choice to a cookie. More... | |
| saveIdP () | |
| Determine whether the choice of IdP should be saved. More... | |
| getTargetIdP () | |
| Determine which IdP the user should go to, if any. More... | |
| getIdPList () | |
| Retrieve the list of IdPs which are stored in the metadata. More... | |
| getScopedIDPList () | |
| Return the list of scoped idp. More... | |
| filterList ($list) | |
| Filter the list of IdPs. More... | |
| start () | |
| Check if an IdP is set or if the request is passive, and redirect accordingly. More... | |
Additional Inherited Members | |
Protected Attributes inherited from SimpleSAML_XHTML_IdPDisco | |
| $config | |
| $instance | |
| $metadata | |
| $session | |
| $metadataSets | |
| $spEntityId | |
| $isPassive | |
| $setIdPentityID = null | |
| $returnIdParam | |
| $scopedIDPList = array() | |
| $returnURL | |
Class ilSimpleSAMLphplIdpDiscovery.
Definition at line 9 of file class.ilSimpleSAMLphplIdpDiscovery.php.
| ilSimpleSAMLphplIdpDiscovery::__construct | ( | ) |
ilSimpleSAMLphplIdpDiscovery constructor.
Definition at line 16 of file class.ilSimpleSAMLphplIdpDiscovery.php.
References SimpleSAML_Configuration\getInstance(), and SimpleSAML_Metadata_MetaDataStorageHandler\getMetadataHandler().
Here is the call graph for this function:| ilSimpleSAMLphplIdpDiscovery::deleteIdpMetadata | ( | $idpId | ) |
| int | $idpId |
Implements ilSamlIdpDiscovery.
Definition at line 81 of file class.ilSimpleSAMLphplIdpDiscovery.php.
References $DIC, and getMetadataPath().
Here is the call graph for this function:| ilSimpleSAMLphplIdpDiscovery::fetchIdpMetadata | ( | $idpId | ) |
| int | $idpId |
Implements ilSamlIdpDiscovery.
Definition at line 65 of file class.ilSimpleSAMLphplIdpDiscovery.php.
References $DIC, and getMetadataPath().
Here is the call graph for this function:| ilSimpleSAMLphplIdpDiscovery::getList | ( | ) |
This method should return an array of IDPs.Each element should be an array as well, providing at least a value for key 'entityid'.
Implements ilSamlIdpDiscovery.
Definition at line 36 of file class.ilSimpleSAMLphplIdpDiscovery.php.
References SimpleSAML_XHTML_IdPDisco\getIdPList().
Here is the call graph for this function:| ilSimpleSAMLphplIdpDiscovery::getMetadataDirectory | ( | ) |
Definition at line 28 of file class.ilSimpleSAMLphplIdpDiscovery.php.
References METADATA_DIRECTORY.
Referenced by getMetadataPath().
Here is the caller graph for this function:
|
protected |
| int | $idpId |
Definition at line 45 of file class.ilSimpleSAMLphplIdpDiscovery.php.
References getMetadataDirectory().
Referenced by deleteIdpMetadata(), fetchIdpMetadata(), and storeIdpMetadata().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSimpleSAMLphplIdpDiscovery::storeIdpMetadata | ( | $idpId, | |
| $metadata | |||
| ) |
| int | $idpId | |
| string | $metadata |
Implements ilSamlIdpDiscovery.
Definition at line 53 of file class.ilSimpleSAMLphplIdpDiscovery.php.
References $DIC, SimpleSAML_XHTML_IdPDisco\$metadata, and getMetadataPath().
Here is the call graph for this function:| const ilSimpleSAMLphplIdpDiscovery::METADATA_DIRECTORY = 'auth/saml/metadata' |
Definition at line 11 of file class.ilSimpleSAMLphplIdpDiscovery.php.
Referenced by getMetadataDirectory().