Utility methods for OAuth 2.0 support. This class is used internally by InterSystems IRIS. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.
Decode base64url encoded string
Encode binary value using base64url encoding
Check that scope is subset of valid scopes for this token
Convert a comma separated list to a $list
Check if apecified algorithm is RSA algorithm
Check if apecified algorithm is symmetric
Convert a $list to comman separated list
Log the current session.
Output JSON object to the current device
Select the language for Authentication Class localization.
uiLocales is the value of the ui_locales request parameter.
The return value is the selected language code.
Call looks like: Set language=##class(%OAuth2.Utils).SelectLanguage(properties.RequestProperties.GetAt("ui_locales"),domain)
Update the private JWKS for client or authorization server with a new private/public key pair or each supported algorithm. UpdatePrivateJWKS is used to initially create the JWKS or to do key rotation.