OAuth2.Server.REST


class OAuth2.Server.REST extends
%CSP.REST

OAuth2.Server.REST acts as the router for REST requests to the authorization server. The /oauth2/authorize is not really a REST endpoint since it uses redirection. Thus we special case the authorization endpoint.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 1


Summary


Methods
%ClassIsLatestVersion %ClassName %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Extends %GetParameter %IsA
%New %OriginalNamespace %PackageName %SetModified
AcceptsContentType AccessCheck ConvertParameter Decrypt
DispatchMap DispatchRequest DrawCSS3STYLE DrawHEAD
DrawSTHEAD DrawSTTitle DrawSTYLE DrawTitle
DrawTitleSection Encrypt Error EscapeHTML
EscapeURL Http403 Http404 Http405
Http500 HyperEventCall HyperEventHead Include
InsertHiddenField InsertHiddenFields IsPrivate Link
Login OnErrorSetup OnHTTPHeader OnHandleCorsRequest
OnHandleOptionsRequest OnLoginPage OnPage OnPageError
OnPostHTTP OnPostHyperEvent OnPreDispatch OnPreHTTP
OnPreHyperEvent OnSecurityTokenPage Page QuoteJS
ReportHttpStatusCode ResolveTarget RewriteURL SetResponseHeaderIfEmpty
ShowError StartTimer StatusToJSON StatusToProxyObject
StopTimer SupportedVerbs ThrowError UnescapeHTML
UnescapeURL


Parameters


• parameter CHARSET = "utf-8";
Specifies the character set to be used for all authorization server responses.
• parameter CONVERTINPUTSTREAM = 1;
Specifies if input %request.Content is to be converted from its original character set on input.
• parameter HandleCorsRequest = 1;
Turn on CORS processing for the authorization server.

Methods


• classmethod Page(skipheader As %Boolean = 1) as %Status
We override the Page method in order to route the /oauth2/authorize URL directly to the authorization endpoint.
Copyright © 1997-2020 InterSystems Corporation, Cambridge, MA