AbstractTokenTypeHandler
class AbstractTokenTypeHandler implements TokenTypeHandlerInterface
Shared token type implementation.
Properties
protected | $validator | ||
protected | $modelManagerFactory |
Methods
__construct(ValidatorInterface $validator, ModelManagerFactoryInterface $modelManagerFactory)
No description
string
getAccessToken(Request $request)
Fetch access_token from given request.
array
createAccessToken(string $clientId, string $username = '', array $scope = [], string $state = null, bool $withRefreshToken = true)
Create and save access_token parameters for generate response.
Details
at line 29
__construct(ValidatorInterface $validator, ModelManagerFactoryInterface $modelManagerFactory)
at line 37
string
getAccessToken(Request $request)
Fetch access_token from given request.
at line 44
array
createAccessToken(string $clientId, string $username = '', array $scope = [], string $state = null, bool $withRefreshToken = true)
Create and save access_token parameters for generate response.