Skip to main content

OAuth2.Server.Userinfo

Class OAuth2.Server.Userinfo Extends %RegisteredObject [ System = 4 ]

OAuth2.Server.Userinfo implements the OpenID Connect Userinfo endpoint.

Parameters

HTTP200OK

Parameter HTTP200OK As STRING = "200 OK";

HTTP400BADREQUEST

Parameter HTTP400BADREQUEST As STRING = "400 Bad Request";

HTTP401UNAUTHORIZED

Parameter HTTP401UNAUTHORIZED As STRING = "401 Unauthorized";

HTTP500INTERNALSERVERERROR

Parameter HTTP500INTERNALSERVERERROR As STRING = "500 Internal Server Error";

Methods

Process

ClassMethod Process() As %Status [ Internal, ServerOnly = 1 ]

StatusError

ClassMethod StatusError(sc As %Status) [ Internal ]

Return an internal server error

ReturnError

ClassMethod ReturnError(error As %OAuth2.Error) [ Internal, ServerOnly = 1 ]

Return error response