1 <?php declare(strict_types=1);
16 $this->config = SimpleSAML\Configuration::getInstance();
17 $this->metadata = SimpleSAML\Metadata\MetaDataStorageHandler::getMetadataHandler();
18 $this->instance =
'saml';
19 $this->metadataSets = [
'saml20-idp-remote'];
20 $this->isPassive =
false;
28 return self::METADATA_DIRECTORY;
36 return $this->getIdPList();
55 $fs = $DIC->filesystem()->storage();
67 $fs = $DIC->filesystem()->storage();
69 if (!$fs->has($this->getMetadataPath($idpId))) {
83 $fs = $DIC->filesystem()->storage();
85 if ($fs->has($this->getMetadataPath($idpId))) {
deleteIdpMetadata(int $idpId)
fetchIdpMetadata(int $idpId)
string
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'. array
storeIdpMetadata(int $idpId, string $metadata)
__construct()
ilSimpleSAMLphplIdpDiscovery constructor.
getMetadataPath(int $idpId)
Class ilSimpleSAMLphplIdpDiscovery.