@uipath/auth 1.196.0 → 1.197.0-preview.59
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/authProfile.d.ts +11 -0
- package/dist/clientCredentials.d.ts +4 -0
- package/dist/envAuth.d.ts +1 -1
- package/dist/index.browser.d.ts +1 -0
- package/dist/index.browser.js +18688 -243
- package/dist/index.d.ts +11 -2
- package/dist/index.js +648 -248
- package/dist/interactive.d.ts +11 -0
- package/dist/loginStatus.d.ts +14 -5
- package/dist/logout.d.ts +4 -0
- package/dist/refreshCircuitBreaker.d.ts +42 -0
- package/dist/selectTenant.d.ts +35 -0
- package/dist/strategies/auth-strategy.d.ts +16 -5
- package/dist/strategies/node-strategy.d.ts +2 -4
- package/package.json +2 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const DEFAULT_AUTH_PROFILE = "default";
|
|
2
|
+
export declare class AuthProfileValidationError extends Error {
|
|
3
|
+
constructor(message: string);
|
|
4
|
+
}
|
|
5
|
+
export declare function normalizeAuthProfileName(profile: string | undefined): string | undefined;
|
|
6
|
+
export declare function setActiveAuthProfile(profile: string | undefined): void;
|
|
7
|
+
export declare function clearActiveAuthProfile(): void;
|
|
8
|
+
export declare function getActiveAuthProfile(): string | undefined;
|
|
9
|
+
export declare function runWithAuthProfile<T>(profile: string | undefined, fn: () => T): T;
|
|
10
|
+
export declare function resolveAuthProfileFilePath(profile: string): string;
|
|
11
|
+
export declare function getActiveAuthProfileFilePath(): string | undefined;
|
|
@@ -5,5 +5,9 @@ interface ClientCredentialsLoginProps {
|
|
|
5
5
|
scope?: string[];
|
|
6
6
|
authority?: string;
|
|
7
7
|
}
|
|
8
|
+
export declare class ClientCredentialsAuthenticationError extends Error {
|
|
9
|
+
readonly status: number;
|
|
10
|
+
constructor(message: string, status: number);
|
|
11
|
+
}
|
|
8
12
|
export declare const clientCredentialsLogin: ({ clientId, clientSecret, scope, authority, }: ClientCredentialsLoginProps) => Promise<BaseCredentials>;
|
|
9
13
|
export {};
|
package/dist/envAuth.d.ts
CHANGED