protected ResponseEntity<String> buildPlainUserProfileClaims(final Map<String, Object> userProfile,
                                                                 final HttpServletResponse response,
                                                                 final OidcRegisteredService registeredService) {
        response.setContentType(MediaType.APPLICATION_JSON_VALUE);
        val claims = convertUserProfileIntoClaims(userProfile);
        return buildResponseEntity(claims.toJson(), response, registeredService);
    }
This is {@link OidcUserProfileViewRenderer}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/profile/OidcUserProfileViewRenderer.java