static OidcIdTokenClaimCollector defaultCollector() {
        return (claims, name, values) -> {
            if (values.size() == 1) {
                claims.setClaim(name, values.getFirst());
            } else if (values.size() > 1) {
                claims.setClaim(name, values);
            }
        };
    }
Default system behavior when collecting ID token claims.

@return the oidc ID token claim collector
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/claims/OidcIdTokenClaimCollector.java