Språk

BotFrameworkAuthentication.AuthenticateChannelRequestAsync Metod

Definition

Autentisera Bot Framework Protocol-förfrågningar till 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)

Parametrar

authHeader
String

HTTP-autentiseringsheadern som mottogs i färdighetsförfrågan.

cancellationToken
CancellationToken

En annulleringstoken.

Returer

Asynkron uppgift med ClaimsIdentity.

Gäller för