Skip to main content

HS.HC.OAuthResourceServer.AuthConfigHandler

class HS.HC.OAuthResourceServer.AuthConfigHandler extends %CSP.REST

Method Inventory

Parameters

parameter CHARSET = UTF-8;
Inherited description: Specifies the default character set for the page. This can be overriden using the <CSP:CONTENT CHARSET=> tag, or by setting the %response.CharSet property in the OnPreHTTP() method. If this parameter is not specified, then for the default charset is utf-8.
parameter UseSession = 0;
Inherited description: This parameter controls the CSP session support. By default the CSP session will be ended after each request in accordance with the spirit of REST. However this CAN be overridden by the user. To use a session, it's necessary to manage the CSPSESSION cookie. Browsers do this automatically but command line tools such as CURL require the setting of options.

Note that if you choose to use a session then this will use a CSP license until the session is ended or expires and the grace period has been satisfied. If you use the default of no session then this will be the same behavior as SOAP requests of holding a license for ten seconds.

Methods

classmethod GetMetadata() as %Status
API handler for Admin UIs to determine whether to implement iris JWT Authentication or OAuth 2.0 flow Returns a %DynamicObject with the schema: { isDelegatedAuth: boolean; delegatedAuthConfig?: { // not defined if isDelegatedAuth is false issuer: string; clientId: string; } }

Inherited Members

Inherited Methods

FeedbackOpens in a new tab