Learning
Documentation
Community
Open Exchange
Global Masters
Home > Class Reference > %SYS namespace > OAuth2.Server.Introspection
Private  Storage   

OAuth2.Server.Introspection


class OAuth2.Server.Introspection extends
%RegisteredObject

OAuth2.Server.Introspection implements the token introspection endpoint as defined by RFC 7662 and the token revocation endpoint as defined by RFC 7009.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 6


Summary


Methods
%%OIDGet %AddToSaveSet %BindExport %BuildObjectGraph
%ClassIsLatestVersion %ClassName %Close %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IncrementCount %IsA %IsModified
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %RemoveFromSaveSet %SerializeObject %SetModified
%ValidateObject AddRequiredClaims Process ProcessIntrospection
ProcessRevocation ReturnError StatusError


Parameters


• parameter HTTP200OK = "200 OK";
• parameter HTTP400BADREQUEST = "400 Bad Request";
• parameter HTTP401UNAUTHORIZED = "401 Unauthorized";
• parameter HTTP500INTERNALSERVERERROR = "500 Internal Server Error";

Methods


• classmethod AddRequiredClaims(json As %DynamicObject, token As OAuth2.Server.AccessToken)
The additional properties that are required for introspection endpoint.
• classmethod Process(requireTLS As %Boolean, requireConfidential As %Boolean, Output error As %String, Output client As OAuth2.Server.Client) as OAuth2.Server.AccessToken
The common processing of introspection and revocation requests until token object is found
• classmethod ProcessIntrospection() as %Status
Process introspection request
• classmethod ProcessRevocation() as %Status
Process revocation request
• classmethod ReturnError(error As %OAuth2.Error)
Return error response
• classmethod StatusError(sc As %Status) as %OAuth2.Error
Return an internal server error