Freigeben über


ConfigurationBotFrameworkAuthentication Klasse

Definition

Erstellt eine BotFrameworkAuthentication -Instanz aus der Konfiguration.

public class ConfigurationBotFrameworkAuthentication : Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication
type ConfigurationBotFrameworkAuthentication = class
    inherit BotFrameworkAuthentication
Public Class ConfigurationBotFrameworkAuthentication
Inherits BotFrameworkAuthentication
Vererbung
ConfigurationBotFrameworkAuthentication

Konstruktoren

ConfigurationBotFrameworkAuthentication(IConfiguration, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger)

Initialisiert eine neue Instanz der ConfigurationBotFrameworkAuthentication-Klasse.

Methoden

AuthenticateChannelRequestAsync(String, CancellationToken)

Authentifizieren Sie Bot Framework-Protokollanforderungen an Skills.

AuthenticateRequestAsync(Activity, String, CancellationToken)

Überprüfen sie Bot Framework-Protokollanforderungen.

AuthenticateStreamingRequestAsync(String, String, CancellationToken)

Überprüfen sie Bot Framework-Protokollanforderungen.

CreateBotFrameworkClient()

Erstellt eine BotFrameworkClient , die zum Aufrufen von Skills verwendet wird.

CreateConnectorFactory(ClaimsIdentity)

Erstellt eine ConnectorFactory , die verwendet werden kann, um zu erstellen IConnectorClient , die Anmeldeinformationen aus dieser bestimmten Cloudumgebung verwendet.

CreateUserTokenClientAsync(ClaimsIdentity, CancellationToken)

Erstellt die entsprechende UserTokenClient Instanz.

GenerateCallerIdAsync(ServiceClientCredentialsFactory, ClaimsIdentity, String, CancellationToken)

Generiert die entsprechende CallerId, um in die Aktivität zu schreiben. Dies kann NULL sein.

(Geerbt von BotFrameworkAuthentication)
GetOriginatingAudience()

Ruft die ursprüngliche Zielgruppe aus dem Bot OAuth-Bereich ab.

Gilt für: