Quick Start
Install the plugin:corsair.ts
Authentication
Supported Auth Types
oauth_2(default) - OAuth 2.0 user authentication
OAuth 2.0 Setup
Store your Box OAuth app credentials, then start the flow:Options
| Option | Type | Description |
|---|---|---|
authType | 'oauth_2' | Authentication method |
webhookSecret | string | Webhook signing secret (optional) |
hooks | object | Endpoint hooks for custom logic |
webhookHooks | object | Webhook hooks for event handling |
errorHandlers | object | Custom error handlers |