語言

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

通道標識碼 HTTP 標頭。

cancellationToken
CancellationToken

取消令牌。

傳回

非同步任務 。AuthenticateRequestResult

適用於