Resource Controller
Overview
For any resource request (i.e. API Call) requiring oauth2 authentication. The controller will validate the incoming request, and then allow the application to serve back the protected resource.
Methods
verifyResourceRequest
- Receives a request object for a resource request, finds the token if it exists, and returns a Boolean for whether the incoming request is valid
getAccessTokenData
- Takes a request object as an argument and returns the token data if applicable, or null if the token is invalid