protected ModelAndView generateAccessTokenResponse(
        final AccessTokenRequestContext tokenRequestContext,
        final OAuth20TokenGeneratedResult result) {
        return new OAuth20AccessTokenResponseEncoder(getConfigurationContext()).encode(tokenRequestContext, result);
    }
Handle request internal model and view.

@param request  the request
@param response the response
@return the model and view
@throws Exception the exception
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/endpoints/OAuth20AccessTokenEndpointController.java