def METHOD_NAME(token):
    try:
        claims = jwt.get_unverified_claims(token)
    except:
        return None
    try:
        if claims.get("kid") == "isardvdi":
            return claims.get("data")
        elif claims.get("kid") == "isardvdi-viewer" and claims.get("data").get(
            "desktop_id"
        ):
            return claims.get("data")
        else:
            # Not a system secret
            return None
    except Exception as e:
        log.debug(e)
    return None