

def _upgrade_token(self, http_body):
    'Replaces the token value with a session token from the auth server.\n\n    Uses the response of a token upgrade request to modify this token. Uses\n    auth_sub_string_from_body.\n    '
    self.token_string = auth_sub_string_from_body(http_body)

dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/gauth.py AuthSubToken._upgrade_token/original