Lingua

ConfigurationBotFrameworkAuthentication.AuthenticateStreamingRequestAsync Metodo

Definizione

Convalidare le richieste del protocollo Bot Framework.

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)

Parametri

authHeader
String

L'intestazione http auth.

channelIdHeader
String

Intestazione HTTP dell'ID del canale.

cancellationToken
CancellationToken

Un token di annullamento.

Valori restituiti

Compito asincrono con AuthenticateRequestResult.

Si applica a