Language

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 )。

適用対象