RestChannelServiceClientFactory 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.
public RestChannelServiceClientFactory(Microsoft.Extensions.Configuration.IConfiguration configuration, System.Net.Http.IHttpClientFactory httpClientFactory, Microsoft.Agents.Authentication.IConnections connections, string tokenServiceEndpoint = "https://api.botframework.com", string tokenServiceAudience = "https://api.botframework.com", Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Agents.Builder.RestChannelServiceClientFactory : Microsoft.Extensions.Configuration.IConfiguration * System.Net.Http.IHttpClientFactory * Microsoft.Agents.Authentication.IConnections * string * string * Microsoft.Extensions.Logging.ILogger -> Microsoft.Agents.Builder.RestChannelServiceClientFactory
Public Sub New (configuration As IConfiguration, httpClientFactory As IHttpClientFactory, connections As IConnections, Optional tokenServiceEndpoint As String = "https://api.botframework.com", Optional tokenServiceAudience As String = "https://api.botframework.com", Optional logger As ILogger = Nothing)
Parameters
- configuration
- IConfiguration
- httpClientFactory
- IHttpClientFactory
Used to create an HttpClient with the fullname of this class
- connections
- IConnections
- tokenServiceEndpoint
- String
- tokenServiceAudience
- String
- logger
- ILogger