Partager via


BotFrameworkAuthentication.AuthenticateStreamingRequestAsync Méthode

Définition

Valider les demandes du protocole Bot Framework.

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

Paramètres

authHeader
String

En-tête d’authentification http.

channelIdHeader
String

En-tête HTTP ID de canal.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Tâche asynchrone avec AuthenticateRequestResult.

Exceptions

Si la validation retourne false.

S’applique à