Class Reference
%Net.SASL.XOAUTH2
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [%Net] >  [SASL] >  [XOAUTH2]
Private  Storage

class %Net.SASL.XOAUTH2 extends %Net.SASL.Base

The implementation of the XOAUTH2 SASL security mechanism to be used with %Net.Authenticator, our implementation of the Simple Authentication and Security Layer (SASL) as defined by RFC 2222.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 2


Summary

Properties
AccessToken MechanismName Password UserName

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
Next Start


Properties

• property AccessToken as %String;
The access token being authenticated
• property MechanismName as %String [ InitialExpression = "XOAUTH2" ];
The name of the security mechanism. This name must be one of SASL mechanism names that is registered with IANA.

Methods

• method Next(challenge As %String, ByRef response As %String) as %Boolean
Return next response based on challenge using the XOAUTH2 SASL mechanism. Return value is false to indicate abort.
• method Start(ByRef response As %String) as %Boolean
Start authentication based on UserName and AccessToken using the XOAUTH2 SASL mechanism.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.