Partager via


MicrosoftGovernmentAppCredentials Constructeurs

Définition

Surcharges

MicrosoftGovernmentAppCredentials(String, String, HttpClient, ILogger, String)

Initialise une nouvelle instance de la classe MicrosoftGovernmentAppCredentials.

MicrosoftGovernmentAppCredentials(String, String, String, HttpClient, ILogger, String)

Initialise une nouvelle instance de la classe MicrosoftGovernmentAppCredentials.

MicrosoftGovernmentAppCredentials(String, String, HttpClient, ILogger, String)

Initialise une nouvelle instance de la classe MicrosoftGovernmentAppCredentials.

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

Paramètres

appId
String

ID d’application Microsoft.

password
String

Mot de passe de l’application Microsoft.

customHttpClient
HttpClient

HttpClient facultatif à utiliser lors de l’acquisition de jetons.

logger
ILogger

ILogger facultatives pour collecter des données de télémétrie lors de l’acquisition et de la gestion des informations d’identification.

oAuthScope
String

Étendue du jeton (par défaut, ToChannelFromBotOAuthScope si null).

S’applique à

MicrosoftGovernmentAppCredentials(String, String, String, HttpClient, ILogger, String)

Initialise une nouvelle instance de la classe MicrosoftGovernmentAppCredentials.

public MicrosoftGovernmentAppCredentials (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.MicrosoftGovernmentAppCredentials : string * string * string * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger * string -> Microsoft.Bot.Connector.Authentication.MicrosoftGovernmentAppCredentials
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)

Paramètres

appId
String

ID d’application Microsoft.

password
String

Mot de passe de l’application Microsoft.

channelAuthTenant
String

Optionnel. Locataire de jeton oauth.

customHttpClient
HttpClient

HttpClient facultatif à utiliser lors de l’acquisition de jetons.

logger
ILogger

ILogger facultatives pour collecter des données de télémétrie lors de l’acquisition et de la gestion des informations d’identification.

oAuthScope
String

Étendue du jeton (par défaut, ToChannelFromBotOAuthScope si null).

S’applique à