19 declare(strict_types=1);
34 $this->config = SimpleSAML\Configuration::getInstance();
35 $this->metadata = SimpleSAML\Metadata\MetaDataStorageHandler::getMetadataHandler();
36 $this->instance =
'saml';
37 $this->metadataSets = [
'saml20-idp-remote'];
38 $this->isPassive =
false;
46 return self::METADATA_DIRECTORY;
54 return $this->getIdPList();
73 $fs = $DIC->filesystem()->storage();
85 $fs = $DIC->filesystem()->storage();
87 if (!$fs->has($this->getMetadataPath($idpId))) {
101 $fs = $DIC->filesystem()->storage();
103 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.