def METHOD_NAME(self, renew=False):
    if self.auth_session_token and not renew:
        return
    try:
        response = self.oauth_session.get(self.API_URL + "session")
        response.raise_for_status()
    except RequestException as e:
        error_code = status_code = None
        if e.response is not None:
            status_code = e.response.status_code
            if status_code == 403:
                # ACCESS_DENIED or T_C_NOT_SIGNED
                error_code = e.response.text.strip()
        raise DEPClientError("Could not get auth session token",
                             error_code=error_code, status_code=status_code)
    else:
        self.auth_session_token = response.json()["auth_session_token"]