Authenticate for Plugin SDK for macOS

The Plugin SDK talks to the installed Zoom client over IPC. Authenticate the plugin session with OAuth 2.0 access token. Get your OAuth 2.0 access token with the required scope plugin_sdk:read:connection_meta. Then initialize using initSDK.

let eventListener = EventListener()
let authContext = ZoomToolSuiteAuthContext()
authContext.accessToken = accessTokenField.stringValue
authContext.domain = "https://zoom.us"
ZoomToolSuiteAPI.initSDK(authContext, listener: eventListener)