ConfigurationBotFrameworkAuthentication Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la 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)
Paramètres
- configuration
- IConfiguration
Instance de IConfiguration.
- credentialsFactory
- ServiceClientCredentialsFactory
Instance de ServiceClientCredentialsFactory.
- authConfiguration
- AuthenticationConfiguration
Instance de AuthenticationConfiguration.
- httpClientFactory
- IHttpClientFactory
IHttpClientFactory à utiliser.
- logger
- ILogger
Instance ILogger à utiliser.