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

37 lines
No EOL
1.4 KiB
TypeScript

/**
* @module botframework-connector
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import type { IJwtTokenProviderFactory } from './jwtTokenProviderFactory';
import type { ServiceClientCredentials } from '@azure/core-http';
import { ServiceClientCredentialsFactory } from './serviceClientCredentialsFactory';
/**
* A Managed Identity implementation of the [ServiceClientCredentialsFactory](xref:botframework-connector.ServiceClientCredentialsFactory) abstract class.
*/
export declare class ManagedIdentityServiceClientCredentialsFactory extends ServiceClientCredentialsFactory {
private readonly appId;
private readonly tokenProviderFactory;
/**
* Initializes a new instance of the ManagedIdentityServiceClientCredentialsFactory class.
*
* @param appId Client ID for the managed identity assigned to the bot.
* @param tokenProviderFactory The JWT token provider factory to use.
*/
constructor(appId: string, tokenProviderFactory: IJwtTokenProviderFactory);
/**
* @inheritdoc
*/
isValidAppId(appId: string): Promise<boolean>;
/**
* @inheritdoc
*/
isAuthenticationDisabled(): Promise<boolean>;
/**
* @inheritdoc
*/
createCredentials(appId: string, audience: string): Promise<ServiceClientCredentials>;
}
//# sourceMappingURL=managedIdentityServiceClientCredentialsFactory.d.ts.map