docs: private ModelAndView getImplicitGrantOrHybridResponse(
        AuthorizationRequest authorizationRequest,
        Authentication authentication,
        String grantType
      ) {
          OAuth2AccessToken accessToken;
          try {
              TokenRequest tokenRequest = getOAuth2RequestFactory().createTokenRequest(authorizationRequest, GRANT_TYPE_IMPLICIT);
              Map<String, String> requestParameters = new HashMap<>(authorizationRequest.getRequestParameters());
              requestParameters.put(GRANT_TYPE, grantType);
              authorizationRequest.setRequestParameters(requestParameters);
              OAuth2Request storedOAuth2Request = getOAuth2RequestFactory().createOAuth2Request(authorizationRequest);
              accessToken = getAccessTokenForImplicitGrantOrHybrid(tokenRequest, storedOAuth2Request, grantType);
              if (accessToken == null) {
                  throw new UnsupportedResponseTypeException("Unsupported response type: token or id_token");
              }
              return new ModelAndView(
                new RedirectView(
                  buildRedirectURI(authorizationRequest, accessToken, authentication),
                  false,
                  true,
                  false
                )
              );
          } catch (OAuth2Exception e) {
              return new ModelAndView(new RedirectView(getUnsuccessfulRedirect(authorizationRequest, e, true), false,
                true, false));
          }
      }