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 > %SYS.OAuth2.Registration

%SYS.OAuth2.Registration

class %SYS.OAuth2.Registration extends %Library.RegisteredObject

The %SYS.OAuth2.Registration class contains the client side methods to support OpenID Connect Discovery and Dynamic Client Registration.

Method Inventory (Including Private)

Methods (Including Private)

classmethod Discover(issuerEndpoint As %String, sslConfiguration As %String, Output server As OAuth2.ServerDefinition) as %Status
The Discover method uses the OpenID Connect Discovery protocol to obtain the server metadata for a client. The Discover method saves the server metadata in an existing or new OAuth2.ServerDefinition instance for the specified issuerEndpoint.
classmethod ReadClient(applicationName As %String) as %Status
The ReadClient method uses the OpenID Connect Dynamic Registration protocol to read the client metadata of a dynamically registered client. The ReadClient method saves the response properties and response client metadata in the OAuth2.Client instance.
classmethod RegisterClient(applicationName As %String) as %Status
The RegisterClient method uses the OpenID Connect Dynamic Registration protocol to register the client specified by applicationName. The RegisterClient method saves the response properties and response client metadata in the OAuth2.Client instance.

Inherited Members

Inherited Methods (Including Private)