TokenResolver class

Looks for OAuthCards in Activity attachments and takes action on them

Methods

checkForOAuthCards(BotFrameworkAdapter, TurnContext, Activity, string[])

Checks if we have token responses from OAuth cards.

Method Details

checkForOAuthCards(BotFrameworkAdapter, TurnContext, Activity, string[])

Checks if we have token responses from OAuth cards.

static function checkForOAuthCards(adapter: BotFrameworkAdapter, context: TurnContext, activity: Activity, log?: string[])

Parameters

context

TurnContext

The TurnContext for this turn.

activity

Activity

The Activity to be checked.

log

string[]

Optional. The log to write on.