original_docstring: 
      Generates a 30-second JWT for the client to use in the GET URL for
      the interactive flow.
      
docstring: Generates a 30-second JWT for the client to use in the GET URL for
  the interactive flow.
docstring_tokens: Generates a 30 - second JWT for the client to use in the GET URL for the interactive flow .
code: def generate_interactive_jwt(
      request: Request, transaction_id: str, account: str
  ) -> str:
      """
      Generates a 30-second JWT for the client to use in the GET URL for
      the interactive flow.
      """
      issued_at = time.time()
      payload = {
          "iss": request.build_absolute_uri(request.path),
          "iat": issued_at,
          "exp": issued_at + 30,
          "sub": account,
          "jti": transaction_id,
      }
      encoded_jwt = jwt.encode(payload, settings.SERVER_JWT_KEY, algorithm="HS256")
      return encoded_jwt.decode("ascii")
code_tokens: def generate_interactive_jwt ( request : Request , transaction_id : str , account : str ) -> str : issued_at = time . time ( ) payload = { "iss" : request . build_absolute_uri ( request . path ) , "iat" : issued_at , "exp" : issued_at + 30 , "sub" : account , "jti" : transaction_id , } encoded_jwt = jwt . encode ( payload , settings . SERVER_JWT_KEY , algorithm = "HS256" ) return encoded_jwt . decode ( "ascii" )
short_docstring: Generates a 30-second JWT for the client to use in the GET URL for
  the interactive flow.
short_docstring_tokens: Generates a 30 - second JWT for the client to use in the GET URL for the interactive flow .
comment: """
      Generates a 30-second JWT for the client to use in the GET URL for
      the interactive flow.
      """