Delen via


ConfigurationBotFrameworkAuthentication Klas

Definitie

Hiermee maakt u een BotFrameworkAuthentication exemplaar op basis van de configuratie.

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

Constructors

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

Initialiseert een nieuw exemplaar van de ConfigurationBotFrameworkAuthentication klasse.

Methoden

AuthenticateChannelRequestAsync(String, CancellationToken)

Bot Framework Protocol-aanvragen verifiëren bij Skills.

AuthenticateRequestAsync(Activity, String, CancellationToken)

Bot Framework Protocol-aanvragen valideren.

AuthenticateStreamingRequestAsync(String, String, CancellationToken)

Bot Framework Protocol-aanvragen valideren.

CreateBotFrameworkClient()

Hiermee maakt u een BotFrameworkClient die wordt gebruikt voor het aanroepen van vaardigheden.

CreateConnectorFactory(ClaimsIdentity)

Hiermee maakt u een ConnectorFactory die kan worden gebruikt voor het maken IConnectorClient van referenties uit deze specifieke cloudomgeving.

CreateUserTokenClientAsync(ClaimsIdentity, CancellationToken)

Hiermee maakt u het juiste UserTokenClient exemplaar.

GenerateCallerIdAsync(ServiceClientCredentialsFactory, ClaimsIdentity, String, CancellationToken)

Genereert de juiste callerId om naar de activiteit te schrijven. Dit kan null zijn.

(Overgenomen van BotFrameworkAuthentication)
GetOriginatingAudience()

Haalt de oorspronkelijke doelgroep op uit het OAuth-bereik van de bot.

Van toepassing op