# Authenticate for Plugin SDK for macOS

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

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`.

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