aimpress-chatbot/node_modules/@azure/identity/dist/commonjs/plugins/provider.d.ts
“SamoilenkoVadym” 55445dbc86
Some checks failed
Build and deploy Node.js app to Azure Web App - ChatBot2222 / build (push) Has been cancelled
Build and deploy Node.js app to Azure Web App - ChatBot2222 / deploy (push) Has been cancelled
Deploy bot to Azure
2025-04-27 19:55:19 +01:00

36 lines
No EOL
1.3 KiB
TypeScript

import type { TokenCachePersistenceOptions } from "../msal/nodeFlows/tokenCachePersistenceOptions.js";
import type { VSCodeCredentialFinder } from "../credentials/visualStudioCodeCredentialPlugin.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 {
setVsCodeCredentialFinder(finder: VSCodeCredentialFinder): 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