Partilhar via


ManagedIdentityServiceClientCredentialsFactory Construtor

Definição

Inicializa uma nova instância da classe 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)

Parâmetros

appId
String

ID do cliente para a identidade gerenciada atribuída ao bot.

httpClient
HttpClient

Um httpClient personalizado para usar.

logger
ILogger

Uma instância de logger a ser usada.

Aplica-se a