class TokenTypeHandlerFactory implements TokenTypeHandlerFactoryInterface

OAuth2 grant type handler factory implemention.

Properties

protected $validator
protected $modelManagerFactory
protected $classes

Methods

__construct(ValidatorInterface $validator, ModelManagerFactoryInterface $modelManagerFactory, array $classes = [])

No description

GrantTypeHandlerInterface
getTokenTypeHandler(string $type = null)

Gets a stored token type handler.

array
getTokenTypeHandlers()

Get a list of all supported handler.

Details

at line 29
__construct(ValidatorInterface $validator, ModelManagerFactoryInterface $modelManagerFactory, array $classes = [])

Parameters

ValidatorInterface $validator
ModelManagerFactoryInterface $modelManagerFactory
array $classes

at line 55
GrantTypeHandlerInterface getTokenTypeHandler(string $type = null)

Gets a stored token type handler.

Parameters

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

Return Value

GrantTypeHandlerInterface The stored token type handler

at line 73
array getTokenTypeHandlers()

Get a list of all supported handler.

Return Value

array Supported handler in key-value pair