Share via


OAuthClientOld.SendEmulateOAuthCardsAsync(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 System.Threading.Tasks.Task SendEmulateOAuthCardsAsync (bool emulateOAuthCards);
member this.SendEmulateOAuthCardsAsync : bool -> System.Threading.Tasks.Task
Public Function SendEmulateOAuthCardsAsync (emulateOAuthCards As Boolean) As Task

Parameters

emulateOAuthCards
Boolean

Indicates whether the Emulator should emulate the OAuth card.

Returns

A task that represents the work queued to execute.

Applies to