Freigeben über


ConfigurationBotFrameworkAuthentication.AuthenticateRequestAsync Methode

Definition

Überprüfen Sie Bot Framework-Protokollanforderungen.

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)

Parameter

activity
Activity

Die eingehende Aktivität.

authHeader
String

Der HTTP-Authentifizierungsheader.

cancellationToken
CancellationToken

Ein Abbruchtoken.

Gibt zurück

Asynchrone Aufgabe mit AuthenticateRequestResult.

Gilt für: