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

24 lines
No EOL
909 B
TypeScript

import { WebResourceLike, ServiceClientCredentials } from '@azure/core-http';
/**
* A credentials object that uses a token string and a authorzation scheme to authenticate.
*/
export declare class TokenCredentials implements ServiceClientCredentials {
token: string;
authorizationScheme: string;
/**
* Creates a new TokenCredentials object.
*
* @class
* @param {string} token The token.
* @param {string} [authorizationScheme] The authorization scheme.
*/
constructor(token: string, authorizationScheme?: string);
/**
* Signs a request with the Authentication header.
*
* @param {WebResourceLike} webResource The WebResourceLike to be signed.
* @returns {Promise<WebResourceLike>} The signed request object.
*/
signRequest(webResource: WebResourceLike): Promise<WebResourceLike>;
}
//# sourceMappingURL=tokenCredentials.d.ts.map