Taal

ConfigurationBotFrameworkAuthentication Klas

Definitie

Maakt een BotFrameworkAuthentication instantie aan vanuit de configuratie.

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

Constructors

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

Initialiseert een nieuw exemplaar van de ConfigurationBotFrameworkAuthentication klasse.

Methoden

Name Description
AuthenticateChannelRequestAsync(String, CancellationToken)

Authenticeer Bot Framework Protocol-verzoeken aan Skills.

AuthenticateRequestAsync(Activity, String, CancellationToken)

Valideer Bot Framework Protocol-aanvragen.

AuthenticateStreamingRequestAsync(String, String, CancellationToken)

Valideer Bot Framework Protocol-aanvragen.

CreateBotFrameworkClient()

Maakt een BotFrameworkClient gebruik aan voor het oproepen van vaardigheden.

CreateConnectorFactory(ClaimsIdentity)

Maakt een ConnectorFactory aan die gebruikt kan worden om inloggegevens te maken IConnectorClient uit deze specifieke cloudomgeving.

CreateUserTokenClientAsync(ClaimsIdentity, CancellationToken)

Maakt het juiste UserTokenClient voorbeeld aan.

GenerateCallerIdAsync(ServiceClientCredentialsFactory, ClaimsIdentity, String, CancellationToken)

Genereert de juiste callerId om op de activiteit te schrijven, dit kan null zijn.

(Overgenomen van BotFrameworkAuthentication)
GetOriginatingAudience()

Hiermee haalt u de oorspronkelijke doelgroep op uit het Bot OAuth-bereik.

Van toepassing op