ManagedIdentityServiceClientCredentialsFactory 构造函数

定义

初始化 ManagedIdentityServiceClientCredentialsFactory 类的新实例。

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)

参数

appId
String

分配给机器人的托管标识的客户端 ID。

httpClient
HttpClient

要使用的自定义 httpClient。

logger
ILogger

要使用的记录器实例。

适用于