Sdílet prostřednictvím


BotFrameworkAuthentication.AuthenticateStreamingRequestAsync Metoda

Definice

Ověřte požadavky protokolu 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)

Parametry

authHeader
String

Hlavička ověřování HTTP.

channelIdHeader
String

Hlavička HTTP s ID kanálu.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Asynchronní úloha s AuthenticateRequestResult.

Výjimky

Pokud ověření vrátí hodnotu false.

Platí pro