I want to use Google services on behalf of a user when the user is offline, so I using the JavaScript API client and send a authorization code to my server. The following is