Lingua

ConfigurationBotFrameworkAuthentication.AuthenticateChannelRequestAsync Metodo

Definizione

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

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