ConfigurationBotFrameworkAuthentication.AuthenticateChannelRequestAsync 方法

定义

将机器人框架协议请求认证给技能。

public override System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> AuthenticateChannelRequestAsync(string authHeader, System.Threading.CancellationToken cancellationToken);
override this.AuthenticateChannelRequestAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
Public Overrides Function AuthenticateChannelRequestAsync (authHeader As String, cancellationToken As CancellationToken) As Task(Of ClaimsIdentity)

参数

authHeader
String

技能请求中收到的 http 身份验证标头。

cancellationToken
CancellationToken

取消令牌。

返回

异步任务 。ClaimsIdentity

适用于