Lingua

BotFrameworkAuthentication.AuthenticateChannelRequestAsync Metodo

Definizione

Autentica le richieste del protocollo del Framework dei Bot a 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)

Parametri

authHeader
String

Intestazione di autenticazione HTTP ricevuta nella richiesta di competenza.

cancellationToken
CancellationToken

Un token di annullamento.

Valori restituiti

Compito asincrono con ClaimsIdentity.

Si applica a