Udostępnij za pośrednictwem


ConfigurationBotFrameworkAuthentication Klasa

Definicja

BotFrameworkAuthentication Tworzy wystąpienie na podstawie konfiguracji.

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

Konstruktory

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

Inicjuje nowe wystąpienie klasy ConfigurationBotFrameworkAuthentication.

Metody

AuthenticateChannelRequestAsync(String, CancellationToken)

Uwierzytelnianie żądań protokołu Bot Framework w usłudze Skills.

AuthenticateRequestAsync(Activity, String, CancellationToken)

Weryfikowanie żądań protokołu Bot Framework.

AuthenticateStreamingRequestAsync(String, String, CancellationToken)

Weryfikowanie żądań protokołu Bot Framework.

CreateBotFrameworkClient()

Tworzy element BotFrameworkClient używany do wywoływania umiejętności.

CreateConnectorFactory(ClaimsIdentity)

Tworzy obiekt ConnectorFactory , który może służyć do tworzenia IConnectorClient poświadczeń przy użyciu poświadczeń z tego konkretnego środowiska chmury.

CreateUserTokenClientAsync(ClaimsIdentity, CancellationToken)

Tworzy odpowiednie UserTokenClient wystąpienie.

GenerateCallerIdAsync(ServiceClientCredentialsFactory, ClaimsIdentity, String, CancellationToken)

Generuje odpowiedni identyfikator wywołujący do zapisu w działaniu. Może to być wartość null.

(Odziedziczone po BotFrameworkAuthentication)
GetOriginatingAudience()

Pobiera pochodzących odbiorców z zakresu OAuth bota.

Dotyczy