class ResponseTypeHandlerFactory implements ResponseTypeHandlerFactoryInterface

OAuth2 response type handler factory implemention.

Properties

protected $tokenStorage
protected $validator
protected $modelManagerFactory
protected $tokenTypeHandlerFactory
protected $classes

Methods

__construct(TokenStorageInterface $tokenStorage, ValidatorInterface $validator, ModelManagerFactoryInterface $modelManagerFactory, TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory, array $classes = [])

No description

getResponseTypeHandler(string $type = null)

Gets a stored response type handler.

array
getResponseTypeHandlers()

Get a list of all supported handler.

Details

at line 33
__construct(TokenStorageInterface $tokenStorage, ValidatorInterface $validator, ModelManagerFactoryInterface $modelManagerFactory, TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory, array $classes = [])

Parameters

TokenStorageInterface $tokenStorage
ValidatorInterface $validator
ModelManagerFactoryInterface $modelManagerFactory
TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory
array $classes

at line 63
ResponseTypeHandlerInterface getResponseTypeHandler(string $type = null)

Gets a stored response type handler.

Parameters

string $type Type of response type handler, as refer to RFC6749

Return Value

ResponseTypeHandlerInterface The stored response type handler

at line 83
array getResponseTypeHandlers()

Get a list of all supported handler.

Return Value

array Supported handler in key-value pair