ManagedIdentityServiceClientCredentialsFactory 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 ManagedIdentityServiceClientCredentialsFactory class.
public ManagedIdentityServiceClientCredentialsFactory (string appId, System.Net.Http.HttpClient httpClient = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Connector.Authentication.ManagedIdentityServiceClientCredentialsFactory : string * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.ManagedIdentityServiceClientCredentialsFactory
Public Sub New (appId As String, Optional httpClient As HttpClient = Nothing, Optional logger As ILogger = Nothing)
Parameters
- appId
- String
Client ID for the managed identity assigned to the bot.
- httpClient
- HttpClient
A custom httpClient to use.
- logger
- ILogger
A logger instance to use.