Compartilhar via


MicrosoftAppCredentials Construtores

Definição

Sobrecargas

MicrosoftAppCredentials(String, String, HttpClient, ILogger, String)

Inicializa uma nova instância da classe MicrosoftAppCredentials.

MicrosoftAppCredentials(String, String, String, HttpClient, ILogger, String)

Inicializa uma nova instância da classe MicrosoftAppCredentials.

MicrosoftAppCredentials(String, String, HttpClient, ILogger, String)

Inicializa uma nova instância da classe MicrosoftAppCredentials.

public MicrosoftAppCredentials (string appId, string password, System.Net.Http.HttpClient customHttpClient = default, Microsoft.Extensions.Logging.ILogger logger = default, string oAuthScope = default);
new Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials : string * string * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger * string -> Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials
Public Sub New (appId As String, password As String, Optional customHttpClient As HttpClient = Nothing, Optional logger As ILogger = Nothing, Optional oAuthScope As String = Nothing)

Parâmetros

appId
String

A ID do aplicativo da Microsoft.

password
String

A senha do aplicativo da Microsoft.

customHttpClient
HttpClient

HttpClient opcionais a serem usados ao adquirir tokens.

logger
ILogger

ILogger opcionais para coletar dados de telemetria ao adquirir e gerenciar credenciais.

oAuthScope
String

O escopo do token.

Aplica-se a

MicrosoftAppCredentials(String, String, String, HttpClient, ILogger, String)

Inicializa uma nova instância da classe MicrosoftAppCredentials.

public MicrosoftAppCredentials (string appId, string password, string channelAuthTenant, System.Net.Http.HttpClient customHttpClient = default, Microsoft.Extensions.Logging.ILogger logger = default, string oAuthScope = default);
new Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials : string * string * string * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger * string -> Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials
Public Sub New (appId As String, password As String, channelAuthTenant As String, Optional customHttpClient As HttpClient = Nothing, Optional logger As ILogger = Nothing, Optional oAuthScope As String = Nothing)

Parâmetros

appId
String

A ID do aplicativo da Microsoft.

password
String

A senha do aplicativo da Microsoft.

channelAuthTenant
String

Opcional. O locatário do token oauth.

customHttpClient
HttpClient

HttpClient opcionais a serem usados ao adquirir tokens.

logger
ILogger

ILogger opcionais para coletar dados de telemetria ao adquirir e gerenciar credenciais.

oAuthScope
String

O escopo do token.

Aplica-se a