code: def parse_channel_id_from_request(self, req: Request) -> str:
      token = req.cookies.get(self._jwt_cookie_name)
      if not token:
          raise AsyncQueryTokenException("Token not preset")
  
      try:
          return jwt.decode(
              token, self._jwt_secret, algorithms=["HS256"]
          )["channel"]
      except Exception as ex:
          logger.warning("Parse jwt failed", exc_info=True)
          raise AsyncQueryTokenException(
              "Failed to parse token"
          ) from ex
  
imports: import json
  import logging
  import uuid
  from typing import Any, Literal, Optional
  import jwt
  import redis
  from flask import Flask, request, Request, Response, session
  from superset.utils.core import get_user_id
label_desc: Use image node_id 4 for calling the AsyncQueryManager obj's underlying member method code with example usage: obj.parse_channel_id_from_request(req) and returns: jwt