Compartilhar via


ConfigurationBotFrameworkAuthentication.AuthenticateStreamingRequestAsync Método

Definição

Validar solicitações do Bot Framework Protocol.

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)

Parâmetros

authHeader
String

O cabeçalho de autenticação http.

channelIdHeader
String

O cabeçalho HTTP da ID do canal.

cancellationToken
CancellationToken

Um token de cancelamento.

Retornos

Tarefa assíncrona com AuthenticateRequestResult.

Aplica-se a