1 | /**
|
2 | * @module botbuilder
|
3 | */
|
4 | /**
|
5 | * Copyright (c) Microsoft Corporation. All rights reserved.
|
6 | * Licensed under the MIT License.
|
7 | */
|
8 | import { BotFrameworkAdapter } from '../botFrameworkAdapter';
|
9 | import { Activity, TurnContext } from 'botbuilder-core';
|
10 | /**
|
11 | * Looks for OAuthCards in Activity attachments and takes action on them
|
12 | */
|
13 | export declare class TokenResolver {
|
14 | private static readonly PollingIntervalMs;
|
15 | /**
|
16 | * Checks if we have token responses from OAuth cards.
|
17 | *
|
18 | * @param adapter The [BotFrameworkAdapter](xref:botbuilder.BotFrameworkAdapter).
|
19 | * @param context The [TurnContext](xref:botbuilder-core.TurnContext) for this turn.
|
20 | * @param activity The [Activity](xref:botframework-schema.Activity) to be checked.
|
21 | * @param log Optional. The log to write on.
|
22 | */
|
23 | static checkForOAuthCards(adapter: BotFrameworkAdapter, context: TurnContext, activity: Activity, log?: string[]): void;
|
24 | /**
|
25 | * @private
|
26 | */
|
27 | private static pollForToken;
|
28 | private static createTokenResponseActivity;
|
29 | }
|
30 | //# sourceMappingURL=tokenResolver.d.ts.map |
\ | No newline at end of file |