@Override
    public String toString() {
        final StringBuilder buffer = new StringBuilder();
        buffer.append("[").append(this.state);
        if (this.authScheme != null) {
            buffer.append(" ").append(this.authScheme);
        }
        buffer.append("]");
        return buffer.toString();
    }
Updates the auth state with a queue of auth options.

@param authOptions a queue of auth options. May not be null or empty.
httpclient5/src/main/java/org/apache/hc/client5/http/auth/AuthExchange.java