\OAuth2\ControllerResourceController

Summary

Methods
Properties
Constants
__construct()
verifyResourceRequest()
getAccessTokenData()
getToken()
No public properties found
No constants found
No protected methods found
$tokenType
$tokenStorage
$config
$scopeUtil
N/A
No private methods found
$token
N/A

Properties

$config

$config : array

Type

array

$token

$token : array

Type

array

Methods

verifyResourceRequest()

verifyResourceRequest(\OAuth2\RequestInterface  $request, \OAuth2\ResponseInterface  $response, null  $scope = null) : boolean

Verify the resource request

Parameters

\OAuth2\RequestInterface $request
  • Request object
\OAuth2\ResponseInterface $response
  • Response object
null $scope

Returns

boolean

getAccessTokenData()

getAccessTokenData(\OAuth2\RequestInterface  $request, \OAuth2\ResponseInterface  $response) : array|null

Get access token data.

Parameters

\OAuth2\RequestInterface $request
  • Request object
\OAuth2\ResponseInterface $response
  • Response object

Returns

array|null

getToken()

getToken() : array

convenience method to allow retrieval of the token.

Returns

array