The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims
about the authenticated End-User. To obtain the requested Claims about the
End-User, the Client makes a request to the UserInfo Endpoint using an Access
Token obtained through OpenID Connect Authentication. These Claims
are normally represented by a JSON object that contains a collection of name
and value pairs for the Claims.

Method Detail

handleRequest

Reimplement this method so that a proper response is generated for the
given request. From the request object you can access request
parameters and whether the request is a continuation request. In the
response object, you should set the mime type and stream the
output data.