Share via


BotFrameworkAuthentication.AuthenticateChannelRequestAsync Method

Definition

Authenticate Bot Framework Protocol requests to Skills.

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

Parameters

authHeader
String

The http auth header received in the skill request.

cancellationToken
CancellationToken

A cancellation token.

Returns

Asynchronous Task with ClaimsIdentity.

Applies to