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 InterSystems IRIS. 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 [ Language = objectscript ]
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 [ Language = objectscript ]
Handle scope rules
classmethod SaveQueryParameters(ByRef requestParameters, requestParameterArray As %ArrayOfDataTypes) [ Language = objectscript ]
Save the %request query parameters in the properties array.

Inherited Members

Inherited Methods (Including Private)