ConfigurationBotFrameworkAuthentication Construtor
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância da classe ConfigurationBotFrameworkAuthentication.
public ConfigurationBotFrameworkAuthentication (Microsoft.Extensions.Configuration.IConfiguration configuration, Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory credentialsFactory = default, Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration authConfiguration = default, System.Net.Http.IHttpClientFactory httpClientFactory = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Integration.AspNet.Core.ConfigurationBotFrameworkAuthentication : Microsoft.Extensions.Configuration.IConfiguration * Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory * Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration * System.Net.Http.IHttpClientFactory * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Integration.AspNet.Core.ConfigurationBotFrameworkAuthentication
Public Sub New (configuration As IConfiguration, Optional credentialsFactory As ServiceClientCredentialsFactory = Nothing, Optional authConfiguration As AuthenticationConfiguration = Nothing, Optional httpClientFactory As IHttpClientFactory = Nothing, Optional logger As ILogger = Nothing)
Parâmetros
- configuration
- IConfiguration
Uma instância IConfiguration.
- credentialsFactory
- ServiceClientCredentialsFactory
Uma instância ServiceClientCredentialsFactory.
- authConfiguration
- AuthenticationConfiguration
Uma instância AuthenticationConfiguration.
- httpClientFactory
- IHttpClientFactory
O IHttpClientFactory a ser usado.
- logger
- ILogger
A instância do ILogger a ser usada.