update to use new php-oauth-client API