Свойство | Тип | Описание | |
---|---|---|---|
$modelManagerFactory | |||
$tokenStorage | |||
$tokenTypeHandlerFactory | |||
$validator |
Метод | Описание | |
---|---|---|
__construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Validator\Validator\ValidatorInterface $validator, AuthBucket\OAuth2\Model\ModelManagerFactoryInterface $modelManagerFactory, AuthBucket\OAuth2\TokenType\TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory ) |
Метод | Описание | |
---|---|---|
checkClientId ( |
Fetch cliend_id from GET. | |
checkRedirectUri ( |
Fetch redirect_uri from GET. | |
checkScope ( |
||
checkState ( |
||
checkUsername ( ) : string | Fetch username from authenticated token. |
public __construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Validator\Validator\ValidatorInterface $validator, AuthBucket\OAuth2\Model\ModelManagerFactoryInterface $modelManagerFactory, AuthBucket\OAuth2\TokenType\TokenTypeHandlerFactoryInterface $tokenTypeHandlerFactory ) | ||
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface | |
$validator | Symfony\Component\Validator\Validator\ValidatorInterface | |
$modelManagerFactory | AuthBucket\OAuth2\Model\ModelManagerFactoryInterface | |
$tokenTypeHandlerFactory | AuthBucket\OAuth2\TokenType\TokenTypeHandlerFactoryInterface |
protected checkClientId ( |
||
$request | Incoming request object | |
Результат | string | Supplied client_id from incoming request |
protected checkRedirectUri ( |
||
$request | Incoming request object | |
$clientId | string | Corresponding client_id that code should belongs to |
Результат | string | The supplied redirect_uri from incoming request, or from stored record |
protected checkScope ( |
||
$request |
protected checkState ( |
||
$request |
protected checkUsername ( ) : string | ||
Результат | string | Supplied username from authenticated token |