def _upgrade_token(self, http_body):
    self.token_string = auth_sub_string_from_body(http_body)


# Functions and classes for Secure-mode AuthSub
Replaces the token value with a session token from the auth server.
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/gauth.py/AuthSubToken._upgrade_token