Connectors モジュール
外部サービスの OAuth トークン管理。base44.asServiceRole.connectors— アプリスコープの OAuth トークン (バックエンド/サービスロールのみ)。すべてのユーザーが同じ接続済みアカウントを共有します。
目次
サービスロールコネクタ (base44.asServiceRole.connectors)
アプリスコープの OAuth トークン。アプリビルダーがアカウントを一度接続し、すべてのユーザーがそれを共有します。バックエンド/サービスロールのみ。
メソッド
| メソッド | シグネチャ | 説明 |
|---|---|---|
getConnection(integrationType) | Promise<ConnectorConnectionResponse> | アクセストークンとオプションの接続設定を取得 |
getAccessToken(integrationType) | Promise<string> | ⚠️ 非推奨 — 代わりに getConnection() を使用 |
例
利用可能なサービス
| サービス | タイプ識別子 |
|---|---|
| Airtable | airtable |
| Box | box |
| ClickUp | clickup |
| Discord | discord |
| Dropbox | dropbox |
| GitHub | github |
| Gmail | gmail |
| Google Analytics | google_analytics |
| Google BigQuery | googlebigquery |
| Google Calendar | googlecalendar |
| Google Classroom | google_classroom |
| Google Docs | googledocs |
| Google Drive | googledrive |
| Google Search Console | google_search_console |
| Google Sheets | googlesheets |
| Google Slides | googleslides |
| HubSpot | hubspot |
| Linear | linear |
linkedin | |
| Microsoft Teams | microsoft_teams |
| Microsoft OneDrive | one_drive |
| Notion | notion |
| Outlook | outlook |
| Salesforce | salesforce |
| SharePoint | share_point |
| Slack User | slack |
| Slack Bot | slackbot |
| Splitwise | splitwise |
| TikTok | tiktok |
| Typeform | typeform |
| Wix | wix |
| Wrike | wrike |
npx base44 connectors list-available を実行してください。
セットアップ要件
- Builder プラン 以上
- バックエンド関数 を有効化 (サービスロールコネクタ用)
- Base44 ダッシュボードで コネクタが構成済み (OAuth フロー完了)
重要な注意事項
- サービスロールコネクタ: コネクタごと、アプリごとに 1 つのアカウント — すべてのユーザーが同じ接続済みアカウントを共有
- API 呼び出しはあなたが処理: Base44 はトークンを提供します; あなたが実際の API リクエストを行います
- トークンリフレッシュ: Base44 が自動的にトークンリフレッシュを処理します
型定義
このページは AI を使用して翻訳されました。最も正確で最新の情報については、英語版 を参照してください。

