use new php-oauth-client API