public boolean isConnectionBased() {
        return this.authScheme != null && this.authScheme.isConnectionBased();
    }
Returns {@code true} if the actual authentication scheme is connection based.
httpclient5/src/main/java/org/apache/hc/client5/http/auth/AuthExchange.java