protected List<BaseClient> buildClientsBasedCasProperties(final String result) throws Exception {
        val payload = MAPPER.readValue(JsonValue.readHjson(result).toString(), Map.class);
        LOGGER.trace("CAS properties received as [{}]", payload);
        val bindingContext = CasConfigurationProperties.bindFrom(payload);
        if (bindingContext.isBound()) {
            return buildFrom((CasConfigurationProperties) bindingContext.value());
        }
        return List.of();
    }
This is {@link RestfulDelegatedIdentityProviderFactory}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-pac4j-core-clients/src/main/java/org/apereo/cas/support/pac4j/authentication/clients/RestfulDelegatedIdentityProviderFactory.java