메소드 | 설명 | |
---|---|---|
getGenerated ( string $property, string $set ) : string | This function is used to generate some metadata elements automatically. | |
getList ( string $set = 'saml20-idp-remote' ) : array | This function lists all known metadata in the given set. It is returned as an associative array where the key is the entity id. | |
getMetaData ( string $index, string $set ) : array | This function looks up the metadata for the given entity id in the given set. It will throw an exception if it is unable to locate the metadata. | |
getMetaDataConfig ( string $entityId, string $set ) : SimpleSAML_Configuration | Retrieve the metadata as a configuration object. | |
getMetaDataConfigForSha1 ( string $sha1, string $set ) : null | SimpleSAML_Configuration | Search for an entity's metadata, given the SHA1 digest of its entity ID. | |
getMetaDataCurrent ( string $set ) : array | This function retrieves metadata for the current entity based on the hostname/path the request was directed to. It will throw an exception if it is unable to locate the metadata. | |
getMetaDataCurrentEntityID ( string $set, string $type = 'entityid' ) : string | This function locates the current entity id based on the hostname/path combination the user accessed. | |
getMetadataHandler ( ) : SimpleSAML_Metadata_MetaDataStorageHandler | This function retrieves the current instance of the metadata handler. | |
getPreferredEntityIdFromCIDRhint ( string $set, string $ip ) : string | This method will call getPreferredEntityIdFromCIDRhint() on all of the sources. |
메소드 | 설명 | |
---|---|---|
__construct ( ) | This constructor initializes this metadata storage handler. It will load and parse the configuration, and initialize the metadata source list. |
protected __construct ( ) |
public getMetaData ( string $index, string $set ) : array | ||
$index | string | The entity id we are looking up. This parameter may be NULL, in which case we look up the current entity id based on the current hostname/path. |
$set | string | The set of metadata we are looking up the entity id in. |
리턴 | array | The metadata array describing the specified entity. |
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 getMetaDataConfigForSha1 ( string $sha1, string $set ) : null | SimpleSAML_Configuration | ||
$sha1 | string | The SHA1 digest of the entity ID. |
$set | string | The metadata set we are searching. |
리턴 | null | SimpleSAML_Configuration | The metadata corresponding to the entity, or null if the entity cannot be found. |
public getMetaDataCurrent ( string $set ) : array | ||
$set | string | The set we want metadata from. |
리턴 | array | An associative array with the metadata. |
public getMetaDataCurrentEntityID ( string $set, string $type = 'entityid' ) : string | ||
$set | string | The set we look for the entity id in. |
$type | string | Do you want to return the metaindex or the entityID. [entityid|metaindex] |
리턴 | string | The entity id which is associated with the current hostname/path combination. |
public static getMetadataHandler ( ) : SimpleSAML_Metadata_MetaDataStorageHandler | ||
리턴 | SimpleSAML_Metadata_MetaDataStorageHandler | The current metadata handler instance. |