def __init__(self, client_id, client_secret, scope, user_agent,
      auth_uri='https://accounts.google.com/o/oauth2/auth',
      token_uri='https://accounts.google.com/o/oauth2/token',
      access_token=None, refresh_token=None,
      revoke_uri='https://accounts.google.com/o/oauth2/revoke'):
    self.client_id = client_id
    self.client_secret = client_secret
    self.scope = scope
    self.user_agent = user_agent
    self.auth_uri = auth_uri
    self.token_uri = token_uri
    self.revoke_uri = revoke_uri
    self.access_token = access_token
    self.refresh_token = refresh_token

    # True if the credentials have been revoked or expired and can't be
    # refreshed.
    self._invalid = False
Create an instance of OAuth2Token
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/gauth.py/OAuth2Token.__init__