static ClientAuthentication ofClientPassword(String clientId, String clientSecret, boolean useBasicAuth) {
        requireNonNull(clientId, "clientId");
        requireNonNull(clientSecret, "clientSecret");
        return new ClientPasswordClientAuthentication(clientId, clientSecret, useBasicAuth);
    }
Returns a {@link ClientAuthentication} for the given client ID and client secret, as per
<a href="https://datatracker.ietf.org/doc/html/rfc6749#section-2.3.1">[RFC6749], Section 2.3.1</a>.

<p>Note that if {@code useBasicAuth} is false, the client ID and client secret will be added as body
parameters.
oauth2/src/main/java/com/linecorp/armeria/common/auth/oauth2/ClientAuthentication.java