Taal

ConfigurationBotFrameworkAuthentication.AuthenticateRequestAsync Methode

Definitie

Valideer Bot Framework Protocol-aanvragen.

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)

Parameters

activity
Activity

De inkomende activiteit.

authHeader
String

De http-authenticatieheader.

cancellationToken
CancellationToken

Een annuleringstoken.

Retouren

Asynchrone taak met AuthenticateRequestResult.

Van toepassing op