Add support for OAuth

new createOAuthClient client method

Methods for getting and refreshing OAuth tokens