Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%SYS] >  [MFT] >  [Connection] >  [Kiteworks]
Private  Storage   

persistent class %SYS.MFT.Connection.Kiteworks extends %SYS.MFT.Connection.Base

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 6


Summary

Properties
ApplicationName HttpRequest Name SSLConfiguration
Service URL Username

Methods
%%CLASSNAMELogicalToStorage %%CLASSNAMEStorageToLogical %AddToSaveSet %AddToSyncSet
%BMEBuilt %BuildIndicesAsync %BuildIndicesAsyncResponse %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDeleteFinally
%OnDetermineClass %OnOpenFinally %OnSaveFinally %Open
%OpenId %OriginalNamespace %PackageName %PhysicalAddress
%PurgeIndices %Reload %RemoveFromSaveSet %ResolveConcurrencyConflict
%RollBack %Save %SaveDirect %SaveIndices
%SerializeObject %SetModified %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateIndices %ValidateObject %ValidateTable CreateClient
DefaultScope DefaultURL DeleteId GetAuthorizationCodeURL
IsAuthorized MakeDownloadRequest MakeHttpRequest MakeRequest
MakeUploadRequest OAuth2ClientCount Open RevokeToken
Save


Parameters

• parameter ACCELLIONVERSION = 7.1;

Methods

• classmethod CreateClient(name As %String, sslConfiguration As %String, clientId As %String, clientSecret As %String, issuer, host As %String = "localhost", port As %Integer = "", prefix As %String = "", useSSL As %Boolean = 1) as %Status
Create an OAuth 2.0 client with the parameters required to authorize with Dropbox.
name is the name to be given to the OAuth 2.0 client.
sslConfiguration is the SSLConfiguration used to make the HTTP request.
clientId and ClientSecret are the id and secret for the OAuth 2.0 client which is obtained from the Kiteworks App definition.
If addiitonal properties are needed, then the Kiteworks OAuth 2.0 client may be opened and modified.
If a server definition does not yet exist for Kiteworks, then a new server definition is created.
• classmethod DefaultScope() as %String
The default scope to use for obtaining the access token.
• method MakeDownloadRequest(parameters As %String, body As %BinaryStream, Output response As %DynamicObject) as %Status
Make an Download style http request to Kiteworks API
• method MakeRequest(method As %String, parameters As %String, request As %DynamicObject = "", ByRef queryParameters As %String, Output response As %DynamicObject) as %Status
Make an http request to Kiteworks API
• method MakeUploadRequest(parameters As %String, filename As %String, ByRef queryParameters As %String, body As %BinaryStream, Output response As %DynamicObject) as %Status
Make an upload http request to Kiteworks API
• method RevokeToken() as %Status
Revoke the token associated with this connection. Revoke the token in Kiteworks as well as locally.


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