语言

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

适用于