Jaa


BotFrameworkAuthentication.AuthenticateStreamingRequestAsync Method

Definition

Validate Bot Framework Protocol requests.

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)

Parameters

authHeader
String

The http auth header.

channelIdHeader
String

The channel Id HTTP header.

cancellationToken
CancellationToken

A cancellation token.

Returns

Asynchronous Task with AuthenticateRequestResult.

Exceptions

If the validation returns false.

Applies to