OAuth2.Server.Logout
Class OAuth2.Server.Logout Extends %RegisteredObject
OAuth2.Server.Logout implements the OpenID Connect logout 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 ]
Handle the logout request from the /logout endpoint
PrepareFrontChannelLogout
ClassMethod PrepareFrontChannelLogout(token As OAuth2.Server.AccessToken, Output logoutUriList As %List) As %Status [ Internal ]
FinishLogoutAndRedirect
ClassMethod FinishLogoutAndRedirect(logoutUriList As %List, uri As %String) As %Status [ Internal ]
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