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