Quick Start
Install the plugin:corsair.ts
Authentication
Supported Auth Types
api_key(default) - Access token
API Key Setup
Options
| Option | Type | Description |
|---|---|---|
authType | 'api_key' | Authentication method |
key | string | Access token (optional, uses database if not provided) |
webhookSecret | string | Client secret for webhook verification (optional) |
hooks | object | Endpoint hooks for custom logic |
webhookHooks | object | Webhook hooks for event handling |
errorHandlers | object | Custom error handlers |