OAuthClientConfig.SendEmulateOAuthCardsAsync(OAuthClient, 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 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.