aimpress-chatbot/node_modules/botbuilder-core/lib/coreAppCredentials.d.ts
“SamoilenkoVadym” 195299ece0 Initial commit
2025-04-27 17:05:18 +01:00

33 lines
No EOL
868 B
TypeScript

/**
* @module botbuilder-core
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Internal interface representing the "WebResource" from @azure/ms-rest-js
*/
interface CoreWebResource {
url?: string;
method?: any;
body?: any;
headers?: any;
}
/**
* CoreAppCredentials
*
* @remarks
* Runtime-agnostic interface representing "ServiceClientCredentials" from @azure/ms-rest-js
*/
export interface CoreAppCredentials {
/**
* Signs a request with the Authentication header.
*
* @param {CoreWebResource} webResource The CoreWebResource/request to be signed.
* @returns {Promise<CoreWebResource>} The signed request object;
*/
signRequest(webResource: CoreWebResource): Promise<CoreWebResource>;
}
export {};
//# sourceMappingURL=coreAppCredentials.d.ts.map