OAuth2.Metadata
Class OAuth2.Metadata Extends %RegisteredObject [ Abstract, System = 4 ]
OAuth2.Metadata is the base class for OAuth 2.0 client and server metadata classes. The main function of this class is implement an appropriate method to output JSON.
Methods
ExportJSON
Method ExportJSON() As %String [ CodeMode = generator, Internal ]
Note that the WriteJSON method will only handle the property types currently used by the OAuth2.Client.Metadata and OAuth2.Server.Metadata methods. The ExportJSON method will need to be extended to support additional types as they are required.
ImportJSON
Method ImportJSON(obj As %DynamicAbstractObject) [ CodeMode = generator, Internal ]
Note that the ImportJSON method will only handle the property types currently used by the OAuth2.Client.Metadata and OAuth2.Server.Metadata methods. The WriteJSON method will need to be extended to support additional types as they are required.
ListPropertiesExecute
ClassMethod ListPropertiesExecute(ByRef qHandle As %Binary, id As %String) As %Status [ Internal ]
Query to return defined name/value pairs for this set of metadata.
ListPropertiesFetch
ClassMethod ListPropertiesFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) As %Status [ Internal, PlaceAfter = ListServicesExecute ]
ListPropertiesClose
ClassMethod ListPropertiesClose(ByRef qHandle As %Binary) As %Status [ Internal, PlaceAfter = ListServicesExecute ]