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.

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 OnHandleCorsRequest(url As %String) as %Status
This is the CORS request handler. User should override this method in their login page if they don't want the default behavior. HandleCorsRequest must be true to reach this method

Inherited Members

Inherited Methods

FeedbackOpens in a new tab