protected Map<String, Object> fetchCasConfiguration(final CasConfiguration configuration) {
        val payload = CollectionUtils.<String, Object>wrap(
            "protocol", configuration.getProtocol(),
            "loginUrl", configuration.getLoginUrl(),
            "timeTolerance", configuration.getTimeTolerance()
        );
        payload.putAll(configuration.getCustomParams());
        payload.put("type", "cas");
        return payload;
    }
This is {@link DelegatedClientsCasEndpointContributor}.

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