aimpress-chatbot/node_modules/@azure/identity/dist/browser/msal/browserFlows/msalBrowserCommon.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

19 lines
No EOL
880 B
TypeScript

import type { MsalBrowserFlowOptions } from "./msalBrowserOptions.js";
import type { AccessToken } from "@azure/core-auth";
import type { AuthenticationRecord } from "../types.js";
import type { CredentialFlowGetTokenOptions } from "../credentials.js";
/**
* Methods that are used by InteractiveBrowserCredential
* @internal
*/
export interface MsalBrowserClient {
getActiveAccount(): Promise<AuthenticationRecord | undefined>;
getToken(scopes: string[], options: CredentialFlowGetTokenOptions): Promise<AccessToken>;
}
/**
* Uses MSAL Browser 2.X for browser authentication,
* which uses the [Auth Code Flow](https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow).
* @internal
*/
export declare function createMsalBrowserClient(options: MsalBrowserFlowOptions): MsalBrowserClient;
//# sourceMappingURL=msalBrowserCommon.d.ts.map