PHP 클래스 SimpleSAML_Metadata_MetaDataStorageHandlerSerialize, simplesamlphp

상속: extends SimpleSAML_Metadata_MetaDataStorageSource
파일 보기 프로젝트 열기: simplesamlphp/simplesamlphp 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $config ) Constructor for this metadata handler.
deleteMetadata ( string $entityId, string $set ) Delete a metadata entry.
getMetaData ( string $entityId, string $set ) : array Retrieve a metadata entry.
getMetadataSet ( string $set ) : array Retrieve a list of all available metadata for a given set.
getMetadataSets ( ) : array Retrieve a list of all available metadata sets.
saveMetadata ( string $entityId, string $set, array $metadata ) : boolean Save a metadata entry.

비공개 메소드들

메소드 설명
getMetadataPath ( string $entityId, string $set ) : string Helper function for retrieving the path of a metadata file.

메소드 상세

__construct() 공개 메소드

Parses configuration.
public __construct ( array $config )
$config array The configuration for this metadata handler.

deleteMetadata() 공개 메소드

Delete a metadata entry.
public deleteMetadata ( string $entityId, string $set )
$entityId string The entityId of the metadata entry.
$set string The metadata set this metadata entry belongs to.

getMetaData() 공개 메소드

Retrieve a metadata entry.
public getMetaData ( string $entityId, string $set ) : array
$entityId string The entityId we are looking up.
$set string The set we are looking for metadata in.
리턴 array An associative array with metadata for the given entity, or NULL if we are unable to locate the entity.

getMetadataSet() 공개 메소드

Retrieve a list of all available metadata for a given set.
public getMetadataSet ( string $set ) : array
$set string The set we are looking for metadata in.
리턴 array An associative array with all the metadata for the given set.

getMetadataSets() 공개 메소드

Retrieve a list of all available metadata sets.
public getMetadataSets ( ) : array
리턴 array An array with the available sets.

saveMetadata() 공개 메소드

Save a metadata entry.
public saveMetadata ( string $entityId, string $set, array $metadata ) : boolean
$entityId string The entityId of the metadata entry.
$set string The metadata set this metadata entry belongs to.
$metadata array The metadata.
리턴 boolean True if successfully saved, false otherwise.