PHP Oauth2-authentication Resources