ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilSimpleSAMLphplIdpDiscovery. More...
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... | |||||||
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(), SimpleSAML_Metadata_MetaDataStorageHandler\getMetadataHandler(), and Sabre\Event\Loop\instance().
ilSimpleSAMLphplIdpDiscovery::deleteIdpMetadata | ( | $idpId | ) |
int | $idpId |
Implements ilSamlIdpDiscovery.
Definition at line 81 of file class.ilSimpleSAMLphplIdpDiscovery.php.
References $DIC, and getMetadataPath().
ilSimpleSAMLphplIdpDiscovery::fetchIdpMetadata | ( | $idpId | ) |
int | $idpId |
Implements ilSamlIdpDiscovery.
Definition at line 65 of file class.ilSimpleSAMLphplIdpDiscovery.php.
References $DIC, and getMetadataPath().
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().
ilSimpleSAMLphplIdpDiscovery::getMetadataDirectory | ( | ) |
Definition at line 28 of file class.ilSimpleSAMLphplIdpDiscovery.php.
Referenced by getMetadataPath().
|
protected |
int | $idpId |
Definition at line 45 of file class.ilSimpleSAMLphplIdpDiscovery.php.
References getMetadataDirectory().
Referenced by deleteIdpMetadata(), fetchIdpMetadata(), and storeIdpMetadata().
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().
const ilSimpleSAMLphplIdpDiscovery::METADATA_DIRECTORY = 'auth/saml/metadata' |
Definition at line 11 of file class.ilSimpleSAMLphplIdpDiscovery.php.