MsalServiceClientCredentialsFactory Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the MsalServiceClientCredentialsFactory class.
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)
Parameters
- configuration
- IConfiguration
IConfiguration where to get the AppId from.
- clientApplication
- IConfidentialClientApplication
IConfidentialClientApplication used to acquire tokens.