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

定義

ManagedIdentityAppCredentials クラスの新しいインスタンスを初期化します。 AAD 資格情報の認証とキャッシュのマネージド ID。

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

パラメーター

appId
String

ボットに割り当てられたマネージド ID のクライアント ID。

oAuthScope
String

トークンのスコープ。

customHttpClient
HttpClient

トークン取得時に使うオプション HttpClient

logger
ILogger

認証情報の取得・管理中にテレメトリデータを収集するためのオプションの ILogger

適用対象