@Override
    public ModelAndView build(final OAuthRegisteredService registeredService,
                              final OAuth20ResponseModeTypes responseMode,
                              final String url, final Map<String, String> parameters) throws Exception {
        val redirectUrl = prepareRedirectUrl(registeredService, url, parameters);
        val builder = responseModeFactory.getBuilder(registeredService, responseMode);
        return builder.build(registeredService, redirectUrl, parameters);
    }
This is {@link DefaultOAuth20AuthorizationModelAndViewBuilder}.

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