SkillValidation.AuthenticateChannelToken(String, ICredentialProvider, HttpClient, String, AuthenticationConfiguration) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- authConfig
- AuthenticationConfiguration