PHP Oauth2-authorization Resources