'Callback function for the exchange to the access token.'

def _on_access_token(self, future, response):

    if response.error:
        future.set_exception(AuthError(('Google    auth    error:    %s' % str(response))))
        return
    args = escape.json_decode(response.body)
    future.set_result(args)
