Dela via


ConfigurationBotFrameworkAuthentication Klass

Definition

Skapar en BotFrameworkAuthentication instans från konfigurationen.

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

Konstruktorer

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

Initierar en ny instans av ConfigurationBotFrameworkAuthentication klassen.

Metoder

AuthenticateChannelRequestAsync(String, CancellationToken)

Autentisera Bot Framework Protocol-begäranden till färdigheter.

AuthenticateRequestAsync(Activity, String, CancellationToken)

Verifiera Bot Framework Protocol-begäranden.

AuthenticateStreamingRequestAsync(String, String, CancellationToken)

Verifiera Bot Framework Protocol-begäranden.

CreateBotFrameworkClient()

Skapar en BotFrameworkClient som används för att anropa färdigheter.

CreateConnectorFactory(ClaimsIdentity)

Skapar en ConnectorFactory som kan användas för att skapa IConnectorClient som använder autentiseringsuppgifter från den här molnmiljön.

CreateUserTokenClientAsync(ClaimsIdentity, CancellationToken)

Skapar lämplig UserTokenClient instans.

GenerateCallerIdAsync(ServiceClientCredentialsFactory, ClaimsIdentity, String, CancellationToken)

Genererar lämpligt callerId för att skriva till aktiviteten, detta kan vara null.

(Ärvd från BotFrameworkAuthentication)
GetOriginatingAudience()

Hämtar den ursprungliga målgruppen från Bot OAuth-omfånget.

Gäller för