Partager via


MsalServiceClientCredentialsFactory Constructeur

Définition

Initialise une nouvelle instance de la 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)

Paramètres

configuration
IConfiguration

IConfiguration où obtenir l’AppId.

clientApplication
IConfidentialClientApplication

IConfidentialClientApplication utilisé pour acquérir des jetons.

logger
ILogger

Facultatif ILogger pour la télémétrie d’acquisition d’informations d’identification.

S’applique à