ConfigurationBotFrameworkAuthentication.AuthenticateStreamingRequestAsync 方法

定义

验证 Bot Framework 协议请求。

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)

参数

authHeader
String

http 身份验证标头。

channelIdHeader
String

通道 ID HTTP 标头。

cancellationToken
CancellationToken

取消标记。

返回

使用 的 AuthenticateRequestResult异步任务。

适用于