code: def get_jwt_data_from_app_context():
      
      ctx = flask._app_ctx_stack.top
      jwt_data = getattr(ctx, 'jwt_data', None)
      PraetorianError.require_condition(
          jwt_data is not None,
          """
          No jwt_data found in app context.
          Make sure @auth_required decorator is specified *first* for route
          """,
      )
      return jwt_data
docs: Fetches a dict of jwt token data from the top of the flask app's context