aimpress-chatbot/node_modules/botframework-connector/lib/emulatorApiClient.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

25 lines
No EOL
959 B
TypeScript

/**
* @module botframework-connector
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { AppCredentials } from './auth/appCredentials';
/**
* The purpose of this class is to emulate an api client.
*/
export declare class EmulatorApiClient {
/**
* OAuth card emulation.
*
* @remarks If the emulation fails, an error containing the status code from the server is thrown.
*
* @param credentials [AppCredentials](xref:botframework-connector.AppCredentials) for OAuth.
* @param emulatorUrl The URL of the emulator.
* @param emulate `true` to send an emulated OAuth card to the emulator; or `false` to not send the card.
* @returns `true` on a successful emulation of OAuthCards.
*/
static emulateOAuthCards(credentials: AppCredentials, emulatorUrl: string, emulate: boolean): Promise<boolean>;
}
//# sourceMappingURL=emulatorApiClient.d.ts.map