You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** The underlying Axios instance used for API requests. Useful for making custom API calls with the same authentication and configuration as the SDK. */
* Connectors module for managing OAuth tokens for external services.
35
+
* Connectors module for managing app-scoped OAuth tokens for external services.
36
36
*
37
37
* This module allows you to retrieve OAuth access tokens for external services that the app has connected to. Connectors are app-scoped. When an app builder connects an integration like Google Calendar or Slack, all users of the app share that same connection.
* User-scoped connectors module for managing end-user OAuth connections.
99
+
*
100
+
* This module provides methods for end-user OAuth flows: initiating an OAuth connection,
101
+
* retrieving the end user's access token, and disconnecting the end user's connection.
102
+
*
103
+
* Unlike {@link ConnectorsModule | ConnectorsModule} which manages app-scoped tokens,
104
+
* this module manages tokens scoped to individual end users.
105
+
*
106
+
* Available via `base44.connectors`.
107
+
*
108
+
* ## Dynamic Types
109
+
*
110
+
* If you're working in a TypeScript project, you can generate types from your app's connector configurations to get autocomplete on integration type names. See the [Dynamic Types](/developers/references/sdk/getting-started/dynamic-types) guide to get started.
111
+
*/
112
+
exportinterfaceUserConnectorsModule{
113
+
/**
114
+
* Retrieves an OAuth access token for an end user's connection to a specific external integration.
115
+
*
116
+
* Returns the OAuth token string that belongs to the currently authenticated end user
117
+
* for the specified external service.
118
+
*
119
+
* @param integrationType - The type of integration, such as `'googlecalendar'`, `'slack'`, or `'github'`.
120
+
* @returns Promise resolving to the access token string.
0 commit comments