GrantTypeHandlerFactory
class GrantTypeHandlerFactory implements GrantTypeHandlerFactoryInterface
OAuth2 grant type handler factory implemention.
Properties
protected | $tokenStorage | ||
protected | $encoderFactory | ||
protected | $validator | ||
protected | $modelManagerFactory | ||
protected | $tokenTypeHandlerFactory | ||
protected | $userProvider | ||
protected | $classes |
Methods
__construct(TokenStorageInterface $tokenStorage, EncoderFactoryInterface $encoderFactory, ValidatorInterface $validator, ModelManagerFactoryInterface $modelManagerFactory, TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory, UserProviderInterface $userProvider = null, array $classes = [])
No description
getGrantTypeHandler(string $type = null)
Gets a stored grant type handler.
array
getGrantTypeHandlers()
Get a list of all supported handler.
Details
at line 37
__construct(TokenStorageInterface $tokenStorage, EncoderFactoryInterface $encoderFactory, ValidatorInterface $validator, ModelManagerFactoryInterface $modelManagerFactory, TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory, UserProviderInterface $userProvider = null, array $classes = [])
at line 71
GrantTypeHandlerInterface
getGrantTypeHandler(string $type = null)
Gets a stored grant type handler.
at line 93
array
getGrantTypeHandlers()
Get a list of all supported handler.