public getMetaDataConfig ( string $entityId, string $set ) : SimpleSAML_Configuration | ||
$entityId | string | The entity ID we are looking up. |
$set | string | The metadata set we are searching. |
Результат | SimpleSAML_Configuration | The configuration object representing the metadata. |
public function getMetaDataConfig($entityId, $set)
{
assert('is_string($entityId)');
assert('is_string($set)');
$metadata = $this->getMetaData($entityId, $set);
return SimpleSAML_Configuration::loadFromArray($metadata, $set . '/' . var_export($entityId, true));
}