public boolean useAccessToken() {
        return accessToken != null;
    }
Construct credentials using user name and password.

@param userName user name
@param password password
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseCredentials.java