Share via


OAuthClientConfig.SendEmulateOAuthCardsAsync(OAuthClient, Boolean) Method

Definition

Send a dummy OAuth card when the bot is being used on the Emulator for testing without fetching a real token.

public static System.Threading.Tasks.Task SendEmulateOAuthCardsAsync (Microsoft.Bot.Connector.OAuthClient client, bool emulateOAuthCards);
static member SendEmulateOAuthCardsAsync : Microsoft.Bot.Connector.OAuthClient * bool -> System.Threading.Tasks.Task
Public Shared Function SendEmulateOAuthCardsAsync (client As OAuthClient, emulateOAuthCards As Boolean) As Task

Parameters

client
OAuthClient

client.

emulateOAuthCards
Boolean

Indicates whether the Emulator should emulate the OAuth card.

Returns

A task that represents the work queued to execute.

Applies to