次の方法で共有


ManagedIdentityAuthenticator(String, String, HttpClient, ILogger) コンストラクター

定義

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

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

パラメーター

appId
String

トークンの取得に使用するマネージド ID のクライアント ID。

resource
String

トークンを取得するリソース。

customHttpClient
HttpClient

HttpClient クラスのカスタマイズされたインスタンス。

logger
ILogger

ログ記録の実行に使用される型。

適用対象