ConfigurationBotFrameworkAuthentication Class

Definition

Creates a BotFrameworkAuthentication instance from configuration.

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

Constructors

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

Initializes a new instance of the ConfigurationBotFrameworkAuthentication class.

Methods

AuthenticateChannelRequestAsync(String, CancellationToken)

Authenticate Bot Framework Protocol requests to Skills.

AuthenticateRequestAsync(Activity, String, CancellationToken)

Validate Bot Framework Protocol requests.

AuthenticateStreamingRequestAsync(String, String, CancellationToken)

Validate Bot Framework Protocol requests.

CreateBotFrameworkClient()

Creates a BotFrameworkClient used for calling Skills.

CreateConnectorFactory(ClaimsIdentity)

Creates a ConnectorFactory that can be used to create IConnectorClient that use credentials from this particular cloud environment.

CreateUserTokenClientAsync(ClaimsIdentity, CancellationToken)

Creates the appropriate UserTokenClient instance.

GenerateCallerIdAsync(ServiceClientCredentialsFactory, ClaimsIdentity, String, CancellationToken)

Generates the appropriate callerId to write onto the activity, this might be null.

(Inherited from BotFrameworkAuthentication)
GetOriginatingAudience()

Gets the originating audience from Bot OAuth scope.

Applies to