Compartilhar via


ConfigurationBotFrameworkAuthentication.AuthenticateRequestAsync Método

Definição

Validar solicitações do Protocolo do Bot Framework.

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)

Parâmetros

activity
Activity

A atividade de entrada.

authHeader
String

O cabeçalho de autenticação http.

cancellationToken
CancellationToken

Um token de cancelamento.

Retornos

Tarefa assíncrona com AuthenticateRequestResult.

Aplica-se a