@avallon-labs/sdk 24.5.0 → 24.6.0-staging.634
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6077,8 +6077,9 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
6077
6077
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6078
6078
|
};
|
|
6079
6079
|
/**
|
|
6080
|
-
* Exchange
|
|
6080
|
+
* Exchange an identity token (Supabase or WorkOS) for a tenant-scoped Core Plane access token.
|
|
6081
6081
|
|
|
6082
|
+
- The endpoint detects the token's issuer and verifies it against the matching provider.
|
|
6082
6083
|
- If `tenant_id` is provided, validates the user is a member of that tenant.
|
|
6083
6084
|
- If `tenant_id` is omitted, selects the user's default (oldest) tenant.
|
|
6084
6085
|
- Call this endpoint again with a different `tenant_id` to switch tenants.
|