This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > OAuth2.Server.Auth

OAuth2.Server.Auth

class OAuth2.Server.Auth extends %CSP.Page

The authorization server supports the authorization control flow for the Authorization Code and Implicit grant types as specified in RFC 6749. The OAuth2.Server.Auth class is a subclass of %CSP.Page which acts as the Authorization Endpoint and controls the flow in accordance with RFC 6749. This class is used internally by Caché. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.

Method Inventory (Including Private)

Parameters

parameter HTTP200OK = 200 OK;

Methods (Including Private)

classmethod GetQueryParameters(client As OAuth2.Server.Client, Output requestParameters) as %String
Get request properties from %request and the request JWT. Return error description if invalid request.
classmethod ProcessScope(server As OAuth2.Server.Configuration, client As OAuth2.Server.Client, ByRef scope As %String) as %OAuth2.Error
Handle scope rules
classmethod SaveQueryParameters(ByRef requestParameters, requestParameterArray As %ArrayOfDataTypes)
Save the %request query parameters in the properties array.

Inherited Members

Inherited Methods (Including Private)

FeedbackOpens in a new window