PHP Class Imbo\Resource\Keys

This resource can be used to manipulate the public keys for an instance, given that a mutable access control adapter is used.
Author: Kristoffer Brabrand ([email protected])
Inheritance: implements Imbo\Resource\ResourceInterface
Mostra file Open project: imbo/imbo

Public Methods

Method Description
deleteKey ( Imbo\EventManager\EventInterface $event ) Delete public key
getAllowedMethods ( )
getKey ( Imbo\EventManager\EventInterface $event ) Get a public key, but return only status code, not private key information
getSubscribedEvents ( )
setKey ( Imbo\EventManager\EventInterface $event ) Add or update public key

Method Details

deleteKey() public method

Delete public key
public deleteKey ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event

getAllowedMethods() public method

public getAllowedMethods ( )

getKey() public method

Get a public key, but return only status code, not private key information
public getKey ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

setKey() public method

Add or update public key
public setKey ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event