您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

SkillValidation.AuthenticateChannelToken(String, ICredentialProvider, HttpClient, String, AuthenticationConfiguration) 方法

定义

public static System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> AuthenticateChannelToken (string authHeader, Microsoft.Bot.Connector.ICredentialProvider credentials, System.Net.Http.HttpClient httpClient, string channelId, Microsoft.Bot.Connector.SkillAuthentication.AuthenticationConfiguration authConfig);
static member AuthenticateChannelToken : string * Microsoft.Bot.Connector.ICredentialProvider * System.Net.Http.HttpClient * string * Microsoft.Bot.Connector.SkillAuthentication.AuthenticationConfiguration -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
Public Shared Function AuthenticateChannelToken (authHeader As String, credentials As ICredentialProvider, httpClient As HttpClient, channelId As String, authConfig As AuthenticationConfiguration) As Task(Of ClaimsIdentity)

参数

authHeader
System.String
credentials
ICredentialProvider
httpClient
System.Net.Http.HttpClient
channelId
System.String

返回

System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>

适用于