wangzhibo
2026-05-09 53418655c061ac26f66058253f39200aced1ab1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import type { TokenCachePersistenceOptions } from "../msal/nodeFlows/tokenCachePersistenceOptions.js";
/**
 * The type of an Azure Identity plugin, a function accepting a plugin
 * context.
 */
export type IdentityPlugin = (context: unknown) => void;
/**
 * Plugin context entries for controlling cache plugins.
 */
export interface CachePluginControl {
    setPersistence(persistenceFactory: (options?: TokenCachePersistenceOptions) => Promise<import("@azure/msal-node").ICachePlugin>): void;
}
export interface NativeBrokerPluginControl {
    setNativeBroker(nativeBroker: import("@azure/msal-node").INativeBrokerPlugin): void;
}
/**
 * Plugin context entries for controlling VisualStudioCodeCredential.
 */
export interface VisualStudioCodeCredentialControl {
    setVSCodeAuthRecordPath(path: string): void;
    setVSCodeBroker(broker: import("@azure/msal-node").INativeBrokerPlugin): void;
}
/**
 * Context options passed to a plugin during initialization.
 *
 * Plugin authors are responsible for casting their plugin context values
 * to this type.
 *
 * @internal
 */
export interface AzurePluginContext {
    cachePluginControl: CachePluginControl;
    nativeBrokerPluginControl: NativeBrokerPluginControl;
    vsCodeCredentialControl: VisualStudioCodeCredentialControl;
}
//# sourceMappingURL=provider.d.ts.map