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

32 lines
No EOL
1.5 KiB
TypeScript

import { ServiceClientCredentials } from '@azure/core-http';
export { ServiceClientCredentials };
/**
* The ServiceClientCredentialsFactory abstract class that allows Bots to provide their own
* ServiceClientCredentials for bot to bot channel or skill bot to parent bot calls.
*/
export declare abstract class ServiceClientCredentialsFactory {
/**
* Validates an app ID.
*
* @param appId The app ID to validate.
* @returns {Promise<boolean>} The result is true if `appId` is valid for the controller; otherwise, false.
*/
abstract isValidAppId(appId: string): Promise<boolean>;
/**
* Checks whether bot authentication is disabled.
*
* @returns {Promise<boolean>} If bot authentication is disabled, the result is true; otherwise, false.
*/
abstract isAuthenticationDisabled(): Promise<boolean>;
/**
* A factory method for creating ServiceClientCredentials.
*
* @param appId The appId.
* @param audience The audience.
* @param loginEndpoint The login url.
* @param validateAuthority The validate authority value to use.
* @returns {Promise<ServiceClientCredentials>} A [ServiceClientCredentials](xref:botframework-connector.ServiceClientCredentials).
*/
abstract createCredentials(appId: string, audience: string | undefined, loginEndpoint: string, validateAuthority: boolean): Promise<ServiceClientCredentials>;
}
//# sourceMappingURL=serviceClientCredentialsFactory.d.ts.map