PHP Interface AuthBucket\OAuth2\ResponseType\ResponseTypeHandlerFactoryInterface

Author: Wong Hoi Sing Edison ([email protected])
ファイルを表示 Open project: authbucket/oauth2

Public Methods

Method Description
getResponseTypeHandler ( string $type = null ) : AuthBucket\OAuth2\ResponseType\ResponseTypeHandlerInterface Gets a stored response type handler.
getResponseTypeHandlers ( ) : array Get a list of all supported handler.

Method Details

getResponseTypeHandler() public method

Gets a stored response type handler.
public getResponseTypeHandler ( string $type = null ) : AuthBucket\OAuth2\ResponseType\ResponseTypeHandlerInterface
$type string Type of response type handler, as refer to RFC6749
return AuthBucket\OAuth2\ResponseType\ResponseTypeHandlerInterface The stored response type handler

getResponseTypeHandlers() public method

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