botbuilder-core
Version:
Core components for Microsoft Bot Builder. Components in this library can run either in a browser or on the server.
33 lines • 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