SkillValidation.AuthenticateChannelToken(String, ICredentialProvider, HttpClient, String, AuthenticationConfiguration) Method

Definition

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)

Parameters

authHeader
String
credentials
ICredentialProvider
httpClient
HttpClient
channelId
String

Returns

Task<ClaimsIdentity>

Applies to