Delen via


ConfigurationBotFrameworkAuthentication.AuthenticateStreamingRequestAsync Methode

Definitie

Bot Framework Protocol-aanvragen valideren.

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

Parameters

authHeader
String

De http-verificatieheader.

channelIdHeader
String

De HTTP-header van de kanaal-id.

cancellationToken
CancellationToken

Een annuleringstoken.

Retouren

Asynchrone taak met AuthenticateRequestResult.

Van toepassing op