Freigeben über


ConfigurationBotFrameworkAuthentication.AuthenticateChannelRequestAsync Methode

Definition

Authentifizieren Sie Bot Framework-Protokollanforderungen an Skills.

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

Parameter

authHeader
String

Der in der Qualifikationsanforderung empfangene HTTP-Authentifizierungsheader.

cancellationToken
CancellationToken

Ein Abbruchtoken.

Gibt zurück

Asynchrone Aufgabe mit ClaimsIdentity.

Gilt für: