Partager via


OAuthClientConfig.SendEmulateOAuthCardsAsync(OAuthClient, Boolean) Méthode

Définition

Envoyez une carte OAuth factice lorsque le bot est utilisé sur l’émulateur à des fins de test sans extraire un jeton réel.

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

Paramètres

client
OAuthClient

.

emulateOAuthCards
Boolean

Indique si l’émulateur doit émuler la carte OAuth.

Retours

Tâche qui représente le travail mis en file d’attente à exécuter.

S’applique à