次の方法で共有


MicrosoftGovernmentAppCredentials コンストラクター

定義

オーバーロード

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

MicrosoftGovernmentAppCredentials クラスの新しいインスタンスを初期化します。

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

MicrosoftGovernmentAppCredentials クラスの新しいインスタンスを初期化します。

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

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)

パラメーター

appId
String

Microsoft アプリ ID。

password
String

Microsoft アプリのパスワード。

customHttpClient
HttpClient

トークンを取得するときに使用する省略可能な HttpClient

logger
ILogger

資格情報の取得と管理中にテレメトリ データを収集するオプションの ILogger

oAuthScope
String

トークンのスコープ (既定値は null の場合は ToChannelFromBotOAuthScope)。

適用対象

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

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)

パラメーター

appId
String

Microsoft アプリ ID。

password
String

Microsoft アプリのパスワード。

channelAuthTenant
String

随意。 oauth トークン テナント。

customHttpClient
HttpClient

トークンを取得するときに使用する省略可能な HttpClient

logger
ILogger

資格情報の取得と管理中にテレメトリ データを収集するオプションの ILogger

oAuthScope
String

トークンのスコープ (既定値は null の場合は ToChannelFromBotOAuthScope)。

適用対象