PHP Interface AuthBucket\OAuth2\ResourceType\ResourceTypeHandlerFactoryInterface

Author: Wong Hoi Sing Edison ([email protected])
Datei anzeigen Open project: authbucket/oauth2

Public Methods

Method Description
getResourceTypeHandler ( string $type = null ) : AuthBucket\OAuth2\ResourceType\ResourceTypeHandlerInterface Gets a stored resource type handler.
getResourceTypeHandlers ( ) : array Get a list of all supported handler.

Method Details

getResourceTypeHandler() public method

Gets a stored resource type handler.
public getResourceTypeHandler ( string $type = null ) : AuthBucket\OAuth2\ResourceType\ResourceTypeHandlerInterface
$type string Type of resource type handler
return AuthBucket\OAuth2\ResourceType\ResourceTypeHandlerInterface The stored resource type handler

getResourceTypeHandlers() public method

Get a list of all supported handler.
public getResourceTypeHandlers ( ) : array
return array Supported handler in key-value pair