private static DelegatedClientIdentityProviderConfiguration getProviderConfiguration(final String client) {
        return DelegatedClientIdentityProviderConfiguration.builder()
            .name(client)
            .type("CasClient")
            .redirectUrl("https://localhost:8443/redirect")
            .autoRedirectType(DelegationAutoRedirectTypes.SERVER)
            .build();
    }
This is {@link DefaultDelegatedClientIdentityProviderRedirectionStrategyTests}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-pac4j-core/src/test/java/org/apereo/cas/pac4j/clients/DefaultDelegatedClientIdentityProviderRedirectionStrategyTests.java