@Override
    public Optional<RedirectionAction> build(final CasClient casClient, final WebContext context) {
        val casConfiguration = casClient.getConfiguration();
        return build(casClient, context, casConfiguration.isRenew(), casConfiguration.isGateway());
    }
This is {@link OAuth20DefaultCasClientRedirectActionBuilder}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/response/OAuth20DefaultCasClientRedirectActionBuilder.java