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