def METHOD_NAME(code: str) -> dse.OAuthToken:
    """
    Request a DocuSign JSON Web Token for the given user's consent code,
    and return it.
    Note tha this JWT will only last a short time (at the time of
    this writing, it's 5 minutes). It's the consent code that's
    long-lived, not the JWT.
    """
    api_client = create_api_client(get_auth_server_url())
    token = api_client.METHOD_NAME(
        client_id=settings.DOCUSIGN_INTEGRATION_KEY,
        user_id=settings.DOCUSIGN_USER_ID,
        oauth_host_name=get_auth_server_domain(),
        private_key_bytes=get_private_key_bytes(),
        expires_in=JWT_EXPIRATION,
    )
    assert isinstance(token, dse.OAuthToken)
    return token