@uipath/auth
Advanced tools
@@ -15,4 +15,16 @@ export interface Tenant { | ||
| } | ||
| /** Fetch tenants and organizations from UiPath Cloud. */ | ||
| /** | ||
| * Fetch tenants and organizations from UiPath Cloud. | ||
| * | ||
| * @param organizationId - The organization segment of the portal URL. Pass the | ||
| * organization's name whenever it is known: the name is the segment that | ||
| * routes reliably, and it is never confused with the account GUID that | ||
| * licensing and analytics APIs take as `accountId`. The id works during login, | ||
| * where the token is always fresh — login has only the id at this point, the | ||
| * name is what this call returns — but it is not a like-for-like substitute | ||
| * later on: the portal has been seen answering `401` to the id (and to a | ||
| * case-variant of the name) on an aged-but-valid session that the exact name | ||
| * still resolves. So the id is a last-resort fallback, not an equal option. | ||
| */ | ||
| export declare const fetchTenantsAndOrganizations: (baseUrl: string, accessToken: string, organizationId: string) => Promise<TenantsAndOrganizations>; | ||
| export {}; |
+2
-2
| { | ||
| "name": "@uipath/auth", | ||
| "license": "MIT", | ||
| "version": "1.201.0-preview.115", | ||
| "version": "1.201.0-preview.121", | ||
| "repository": { | ||
@@ -40,3 +40,3 @@ "type": "git", | ||
| ], | ||
| "gitHead": "f1086b73654d7728cb71f280588b3e0c77d535fc" | ||
| "gitHead": "c70ccfc0b12e637441d67df1d212b71d7784b5f8" | ||
| } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
1174614
0.27%25313
0.16%