Property | Type | Description | |
---|---|---|---|
$encoderFactory | |||
$modelManagerFactory | |||
$tokenStorage | |||
$tokenTypeHandlerFactory | |||
$userProvider | |||
$validator |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface $encoderFactory, Symfony\Component\Validator\Validator\ValidatorInterface $validator, AuthBucket\OAuth2\Model\ModelManagerFactoryInterface $modelManagerFactory, AuthBucket\OAuth2\TokenType\TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory, Symfony\Component\Security\Core\User\UserProviderInterface $userProvider = null ) |
Method | Description | |
---|---|---|
checkClientId ( ) : string | Fetch client_id from authenticated token. | |
checkScope ( |
Fetch scope from POST. |
public __construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface $encoderFactory, Symfony\Component\Validator\Validator\ValidatorInterface $validator, AuthBucket\OAuth2\Model\ModelManagerFactoryInterface $modelManagerFactory, AuthBucket\OAuth2\TokenType\TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory, Symfony\Component\Security\Core\User\UserProviderInterface $userProvider = null ) | ||
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface | |
$encoderFactory | Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface | |
$validator | Symfony\Component\Validator\Validator\ValidatorInterface | |
$modelManagerFactory | AuthBucket\OAuth2\Model\ModelManagerFactoryInterface | |
$tokenTypeHandlerFactory | AuthBucket\OAuth2\TokenType\TokenTypeHandlerFactoryInterface | |
$userProvider | Symfony\Component\Security\Core\User\UserProviderInterface |
protected checkClientId ( ) : string | ||
return | string | Supplied client_id from authenticated token |
protected checkScope ( |
||
$request | Incoming request object | |
return | array | null | Supplied scope in array from incoming request, or null if none given |