UNPKG

1.17 kBTypeScriptView Raw
1import { ChannelServiceHandlerBase } from './channelServiceHandlerBase';
2import { AuthenticationConfiguration, ClaimsIdentity, ICredentialProvider } from 'botframework-connector';
3/**
4 * @deprecated Use `CloudChannelServiceHandler` instead.
5 * The ChannelServiceHandler implements API to forward activity to a skill and
6 * implements routing ChannelAPI calls from the Skill up through the bot/adapter.
7 */
8export declare class ChannelServiceHandler extends ChannelServiceHandlerBase {
9 private readonly credentialProvider;
10 private readonly authConfig;
11 protected readonly channelService: string;
12 /**
13 * Initializes a new instance of the ChannelServiceHandler class, using a credential provider.
14 *
15 * @param credentialProvider The credential provider.
16 * @param authConfig The authentication configuration.
17 * @param channelService A string representing the channel provider.
18 */
19 constructor(credentialProvider: ICredentialProvider, authConfig: AuthenticationConfiguration, channelService?: string);
20 protected authenticate(authHeader: string): Promise<ClaimsIdentity>;
21}
22//# sourceMappingURL=channelServiceHandler.d.ts.map
\No newline at end of file