GrantTypeHandlerFactory
class GrantTypeHandlerFactory implements GrantTypeHandlerFactoryInterface
OAuth2 grant type handler factory implemention.
Properties
protected | $tokenStorage | ||
protected | $userChecker | ||
protected | $encoderFactory | ||
protected | $validator | ||
protected | $modelManagerFactory | ||
protected | $tokenTypeHandlerFactory | ||
protected | $userProvider | ||
protected | $classes |
Methods
__construct(TokenStorageInterface $tokenStorage, UserCheckerInterface $userChecker, 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 39
__construct(TokenStorageInterface $tokenStorage, UserCheckerInterface $userChecker, EncoderFactoryInterface $encoderFactory, ValidatorInterface $validator, ModelManagerFactoryInterface $modelManagerFactory, TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory, UserProviderInterface $userProvider = null, array $classes = [])
at line 75
GrantTypeHandlerInterface
getGrantTypeHandler(string $type = null)
Gets a stored grant type handler.
at line 98
array
getGrantTypeHandlers()
Get a list of all supported handler.