OAuthClientOld.SendEmulateOAuthCardsAsync(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.