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

OAuth2.Server.Registration


class OAuth2.Server.Registration extends
%RegisteredObject

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 9


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 AddClientSecretToJWKS CreateClientConfiguration GetJWKS
ReadClient RegisterClient ReturnError ReturnJWKS
StatusError UpdateClientMetadata


Parameters


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

Methods


• classmethod AddClientSecretToJWKS(JWKS As %String, clientSecret As %String, Output updatedJWKS As %String) as %Status
Add the client secret to the public JWKS
• classmethod CreateClientConfiguration(metadata As OAuth2.Client.Metadata, error As %OAuth2.Error) as OAuth2.Server.Client
Create a new authorization server client based on the client metadata recieved during client registration.
• classmethod GetJWKS(uri As %String, sslConfiguration As %String, Output jwks As %String) as %Status
Get the JWKS from jwks_uri
• classmethod ReadClient() as %Status
Read the client metadata for a dynamically registered client
• classmethod RegisterClient() as %Status
Process introspection request
• classmethod ReturnError(error As %OAuth2.Error)
Return error response
• classmethod ReturnJWKS() as %Status
Return this server's public JWKS
• classmethod StatusError(sc As %Status) as %OAuth2.Error
Return an internal server error
• classmethod UpdateClientMetadata(client As OAuth2.Server.Client) as %OAuth2.Error
Update the client metadata response for the specified client