UNPKG

748 BTypeScriptView Raw
1/**
2 * @module botbuilder
3 */
4/**
5 * Copyright (c) Microsoft Corporation. All rights reserved.
6 * Licensed under the MIT License.
7 */
8import { ClaimsIdentity, ConnectorClient } from 'botframework-connector';
9/**
10 * Abstraction to build connector clients.
11 */
12export interface ConnectorClientBuilder {
13 /**
14 * Creates the connector client asynchronous.
15 * @param serviceUrl The service URL.
16 * @param claimsIdentity The claims claimsIdentity.
17 * @param audience The target audience for the ConnectorClient.
18 */
19 createConnectorClientWithIdentity: (serviceUrl: string, claimsIdentity: ClaimsIdentity, audience: string) => Promise<ConnectorClient>;
20}
21//# sourceMappingURL=connectorClientBuilder.d.ts.map