UNPKG

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