프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |