Partager via


ConfigurationBotFrameworkAuthentication.AuthenticateRequestAsync Méthode

Définition

Valider les demandes du protocole Bot Framework.

public override System.Threading.Tasks.Task<Microsoft.Bot.Connector.Authentication.AuthenticateRequestResult> AuthenticateRequestAsync (Microsoft.Bot.Schema.Activity activity, string authHeader, System.Threading.CancellationToken cancellationToken);
override this.AuthenticateRequestAsync : Microsoft.Bot.Schema.Activity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.Authentication.AuthenticateRequestResult>
Public Overrides Function AuthenticateRequestAsync (activity As Activity, authHeader As String, cancellationToken As CancellationToken) As Task(Of AuthenticateRequestResult)

Paramètres

activity
Activity

Activité entrante.

authHeader
String

En-tête d’authentification http.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Tâche asynchrone avec AuthenticateRequestResult.

S’applique à