Compartir a través de


AppCredentials Constructores

Definición

Sobrecargas

AppCredentials(String, HttpClient, ILogger)

Inicializa una nueva instancia de la clase AppCredentials.

AppCredentials(String, HttpClient, ILogger, String)

Inicializa una nueva instancia de la clase AppCredentials.

AppCredentials(String, HttpClient, ILogger)

Inicializa una nueva instancia de la clase AppCredentials.

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

Parámetros

channelAuthTenant
String

Opcional. El inquilino del token de oauth.

customHttpClient
HttpClient

Opcional HttpClient para usarse al adquirir tokens.

logger
ILogger

Opcional ILogger para recopilar datos de telemetría al adquirir y administrar credenciales.

Se aplica a

AppCredentials(String, HttpClient, ILogger, String)

Inicializa una nueva instancia de la clase AppCredentials.

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

Parámetros

channelAuthTenant
String

Opcional. El inquilino del token de oauth.

customHttpClient
HttpClient

Opcional HttpClient para usarse al adquirir tokens.

logger
ILogger

Opcional ILogger para recopilar datos de telemetría al adquirir y administrar credenciales.

oAuthScope
String

Ámbito del token.

Se aplica a