@Override
    public Map<String, Object> contribute(final BaseClient client) {
        if (client instanceof final OAuth20Client clientInstance) {
            return fetchOauthConfiguration(clientInstance.getConfiguration());
        }
        return fetchOidcConfiguration(((OidcClient) client).getConfiguration());
    }
This is {@link DelegatedClientsOidcEndpointContributor}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-pac4j-oidc/src/main/java/org/apereo/cas/pac4j/web/DelegatedClientsOidcEndpointContributor.java