Idioma

ConfigurationBotFrameworkAuthentication Classe

Definição

Cria uma BotFrameworkAuthentication instância a partir da configuração.

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

Construtores

Name Descrição
ConfigurationBotFrameworkAuthentication(IConfiguration, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger)

Inicializa uma nova instância da ConfigurationBotFrameworkAuthentication classe.

Métodos

Name Descrição
AuthenticateChannelRequestAsync(String, CancellationToken)

Autenticar pedidos do Protocolo do Framework do Bot para as Skills.

AuthenticateRequestAsync(Activity, String, CancellationToken)

Valide solicitações do Bot Framework Protocol.

AuthenticateStreamingRequestAsync(String, String, CancellationToken)

Valide solicitações do Bot Framework Protocol.

CreateBotFrameworkClient()

Cria um BotFrameworkClient uso para chamar Skills.

CreateConnectorFactory(ClaimsIdentity)

Cria um ConnectorFactory que pode ser usado para criar IConnectorClient credenciais a partir deste ambiente de cloud em particular.

CreateUserTokenClientAsync(ClaimsIdentity, CancellationToken)

Cria a instância apropriada UserTokenClient .

GenerateCallerIdAsync(ServiceClientCredentialsFactory, ClaimsIdentity, String, CancellationToken)

Gera o callerId apropriado para escrever na atividade, isto pode ser nulo.

(Herdado de BotFrameworkAuthentication)
GetOriginatingAudience()

Obtém o público de origem do escopo Bot OAuth.

Aplica-se a