Skip to main content

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.

Method Inventory

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.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab