protected ResponseEntity renderProfileForModel(final Map<String, Object> userProfile,
                                                   final OAuth20AccessToken accessToken,
                                                   final HttpServletResponse response) {
        val claims = convertUserProfileIntoClaims(userProfile);
        return new ResponseEntity<>(claims.getClaimsMap(), HttpStatus.OK);
    }
This is {@link OAuth20DefaultUserProfileViewRenderer}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/views/OAuth20DefaultUserProfileViewRenderer.java