Set Token

def set_token(self, value):
        """ Set Token """

        if value and value.find('Token token=') == 0:
            token = value[12:]
        else:
            token = value
        self.token = token