|
Cheetah
|
Public Member Functions | |
| __construct (TokenTypeInterface $tokenType, AccessTokenInterface $tokenStorage, $config=array(), ScopeInterface $scopeUtil=null) | |
| verifyResourceRequest (RequestInterface $request, ResponseInterface $response, $scope=null) | |
| getAccessTokenData (RequestInterface $request, ResponseInterface $response) | |
| getToken () | |
Protected Attributes | |
| $tokenType | |
| $tokenStorage | |
| $config | |
| $scopeUtil | |
Definition at line 15 of file ResourceController.php.
| OAuth2\Controller\ResourceController::__construct | ( | TokenTypeInterface | $tokenType, |
| AccessTokenInterface | $tokenStorage, | ||
$config = array(), |
|||
| ScopeInterface | $scopeUtil = null |
||
| ) |
Definition at line 24 of file ResourceController.php.
| OAuth2\Controller\ResourceController::getAccessTokenData | ( | RequestInterface | $request, |
| ResponseInterface | $response | ||
| ) |
Implements OAuth2\Controller\ResourceControllerInterface.
Definition at line 74 of file ResourceController.php.
| OAuth2\Controller\ResourceController::getToken | ( | ) |
Definition at line 107 of file ResourceController.php.
| OAuth2\Controller\ResourceController::verifyResourceRequest | ( | RequestInterface | $request, |
| ResponseInterface | $response, | ||
$scope = null |
|||
| ) |
Check scope, if provided If token doesn't have a scope, it's null/empty, or it's insufficient, then throw 403
Implements OAuth2\Controller\ResourceControllerInterface.
Definition at line 39 of file ResourceController.php.
|
protected |
Definition at line 21 of file ResourceController.php.
|
protected |
Definition at line 22 of file ResourceController.php.
|
protected |
Definition at line 20 of file ResourceController.php.
|
protected |
Definition at line 19 of file ResourceController.php.