\OAuth2\ControllerResourceControllerInterface

This controller is called when a "resource" is requested.

call verifyResourceRequest in order to determine if the request contains a valid token.

Summary

Methods
Constants
verifyResourceRequest()
getAccessTokenData()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

verifyResourceRequest()

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

Verify the resource request

Parameters

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

Returns

mixed

getAccessTokenData()

getAccessTokenData(\OAuth2\RequestInterface  $request, \OAuth2\ResponseInterface  $response) : mixed

Get access token data.

Parameters

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

Returns

mixed