Utility methods for OAuth 2.0 support. More...
Static Public Member Functions | |
_.Library.Binary | Base64UrlDecode (_.Library.String text) |
Decode base64url encoded string. | |
_.Library.String | Base64UrlEncode (_.Library.Binary bin) |
Encode binary value using base64url encoding. | |
_.OAuth2.Error | CheckScope (_.Library.String tokenScope, _.Library.String scope) |
Check that scope is subset of valid scopes for this token. | |
_.Library.List | CommaToList (_.Library.String str) |
Convert a comma separated list to a $list. | |
_.Library.Boolean | IsAlgEC (_.Library.String alg) |
Check if specified algorithm is EC algorithm. More... | |
_.Library.Boolean | IsAlgRSA (_.Library.String alg) |
Check if specified algorithm is RSA algorithm. More... | |
_.Library.Boolean | IsAlgSymmetric (_.Library.String alg) |
Check if apecified algorithm is symmetric. More... | |
_.Library.String | ListToComma (_.Library.List list) |
Convert a $list to comman separated list. | |
_.Library.Status | ObjectToJSON (_.Library.DynamicAbstractObject object) |
Output JSON object to the current device. | |
_.Library.String | SelectLanguage (_.Library.String uiLocales, _.Library.String domain) |
Select the language for Authentication Class localization. More... | |
Additional Inherited Members | |
![]() | |
_.Library.Status | OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount) |
This callback method is invoked when the current object is added to the SaveSet,. More... | |
_.Library.Status | OnClose () |
This callback method is invoked by the <METHOD>Close</METHOD> method to. More... | |
_.Library.Status | OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned) |
This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More... | |
_.Library.Status | OnNew () |
This callback method is invoked by the <METHOD>New</METHOD> method to. More... | |
_.Library.Status | OnValidateObject () |
This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More... | |
![]() | |
CAPTION = None | |
Optional name used by the Form Wizard for a class when generating forms. More... | |
JAVATYPE = None | |
The Java type to be used when exported. | |
PROPERTYVALIDATION = None | |
This parameter controls the default validation behavior for the object. More... | |
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.
|
static |
Check if specified algorithm is EC algorithm.
This method is deprecated. Use the IsAlgEC method in <class>Net.JSON.JWA</class> instead.
|
static |
Check if specified algorithm is RSA algorithm.
This method is deprecated. Use the IsAlgRSA method in <class>Net.JSON.JWA</class> instead.
|
static |
Check if apecified algorithm is symmetric.
This method is deprecated. Use the IsAlgSymmetric method in <class>Net.JSON.JWA</class> instead.
|
static |
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)