Compartilhar via


MsalServiceClientCredentialsFactory Construtor

Definição

Inicializa uma nova instância da classe MsalServiceClientCredentialsFactory.

public MsalServiceClientCredentialsFactory (Microsoft.Extensions.Configuration.IConfiguration configuration, Microsoft.Identity.Client.IConfidentialClientApplication clientApplication, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Connector.Authentication.MsalServiceClientCredentialsFactory : Microsoft.Extensions.Configuration.IConfiguration * Microsoft.Identity.Client.IConfidentialClientApplication * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.MsalServiceClientCredentialsFactory
Public Sub New (configuration As IConfiguration, clientApplication As IConfidentialClientApplication, Optional logger As ILogger = Nothing)

Parâmetros

configuration
IConfiguration

IConfiguration de onde obter a AppId.

clientApplication
IConfidentialClientApplication

IConfidentialClientApplication usado para adquirir tokens.

logger
ILogger

Opcional ILogger para telemetria de aquisição de credenciais.

Aplica-se a