ConfigurationBotFrameworkAuthentication Constructor
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Inicializa una nueva instancia de la clase 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
Instancia de IConfiguration.
- credentialsFactory
- ServiceClientCredentialsFactory
Instancia de ServiceClientCredentialsFactory.
- authConfiguration
- AuthenticationConfiguration
Instancia de AuthenticationConfiguration.
- httpClientFactory
- IHttpClientFactory
Objeto IHttpClientFactory que se va a usar.
- logger
- ILogger
Instancia de ILogger que se va a usar.