Skip to main content

%ZHS.HC.OAuth2.Utils

class %ZHS.HC.OAuth2.Utils

Method Inventory

Methods

classmethod GetClientId(applicationName As %String) as %String
For a given applicationName, retrieve the corrseponding Client Id stored in OAuth2.Client
classmethod GetServerMetadataByClient(pClientName As %String) as %DynamicObject
API
GetServerMetadataByClient derives an issuer URL from the specified OAuth 2.0 client name, then gets the OAuth 2.0 authorization server metadata at that issuer URL. It then returns the metadata as a %DynamicObject.
classmethod GetServerMetadataByIssuer(pIssuerEndpoint As %String, pSSLConfigName As %String) as %DynamicObject
API
GetServerMetadataByIssuer gets the OAuth 2.0 authorization server metadata at the specified issuer URL. It then returns the metadata as a %DynamicObject.
FeedbackOpens in a new tab