Taal

BotFrameworkAuthentication.AuthenticateChannelRequestAsync Methode

Definitie

Authenticeer Bot Framework Protocol-verzoeken aan 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

De http-authenticatieheader die in het vaardigheidsverzoek is ontvangen.

cancellationToken
CancellationToken

Een annuleringstoken.

Retouren

Asynchrone taak met ClaimsIdentity.

Van toepassing op