AbstractGrantTypeHandler
class AbstractGrantTypeHandler implements GrantTypeHandlerInterface
Shared grant type implementation.
Properties
protected | $tokenStorage | ||
protected | $userChecker | ||
protected | $encoderFactory | ||
protected | $validator | ||
protected | $modelManagerFactory | ||
protected | $tokenTypeHandlerFactory | ||
protected | $userProvider |
Methods
__construct(TokenStorageInterface $tokenStorage, UserCheckerInterface $userChecker, EncoderFactoryInterface $encoderFactory, ValidatorInterface $validator, ModelManagerFactoryInterface $modelManagerFactory, TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory, UserProviderInterface $userProvider = null)
No description
string
checkClientId()
Fetch client_id from authenticated token.
array|null
checkScope(Request $request, $clientId, $username)
Fetch scope from POST.
Details
at line 44
__construct(TokenStorageInterface $tokenStorage, UserCheckerInterface $userChecker, EncoderFactoryInterface $encoderFactory, ValidatorInterface $validator, ModelManagerFactoryInterface $modelManagerFactory, TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory, UserProviderInterface $userProvider = null)
at line 69
protected string
checkClientId()
Fetch client_id from authenticated token.
at line 91
protected array|null
checkScope(Request $request, $clientId, $username)
Fetch scope from POST.