This is a wrapper for OAuth2 Server PHP (http://bshaffer.github.io/oauth2-server-php-docs/).