AbstractGrantTypeHandler
class AbstractGrantTypeHandler implements GrantTypeHandlerInterface
Shared grant type implementation.
Properties
protected | $tokenStorage | ||
protected | $encoderFactory | ||
protected | $validator | ||
protected | $modelManagerFactory | ||
protected | $tokenTypeHandlerFactory | ||
protected | $userProvider |
Methods
__construct(TokenStorageInterface $tokenStorage, 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 40
__construct(TokenStorageInterface $tokenStorage, EncoderFactoryInterface $encoderFactory, ValidatorInterface $validator, ModelManagerFactoryInterface $modelManagerFactory, TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory, UserProviderInterface $userProvider = null)
at line 63
protected string
checkClientId()
Fetch client_id from authenticated token.
at line 85
protected array|null
checkScope(Request $request, $clientId, $username)
Fetch scope from POST.