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

30 lines
No EOL
1.1 KiB
TypeScript

/**
* @module botframework-connector
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { AppCredentials } from './appCredentials';
import type { IJwtTokenProviderFactory } from './jwtTokenProviderFactory';
import { AuthenticatorResult } from './authenticatorResult';
/**
* Managed Service Identity auth implementation.
*/
export declare class ManagedIdentityAppCredentials extends AppCredentials {
private readonly tokenProviderFactory;
private authenticator;
/**
* Managed Identity for AAD credentials auth and caching.
*
* @param appId Client ID for the managed identity assigned to the bot.
* @param oAuthScope The scope for the token.
* @param tokenProviderFactory The JWT token provider factory to use.
*/
constructor(appId: string, oAuthScope: string, tokenProviderFactory: IJwtTokenProviderFactory);
/**
* @inheritdoc
*/
protected refreshToken(): Promise<AuthenticatorResult>;
}
//# sourceMappingURL=managedIdentityAppCredentials.d.ts.map