다음을 통해 공유


ManagedIdentityAppCredentials 생성자

정의

ManagedIdentityAppCredentials 클래스의 새 인스턴스를 초기화합니다. AAD 자격 증명 인증 및 캐싱에 대한 관리 ID입니다.

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

매개 변수

appId
String

봇에 할당된 관리 ID의 클라이언트 ID입니다.

oAuthScope
String

토큰의 범위입니다.

tokenProviderFactory
IJwtTokenProviderFactory

사용할 JWT 토큰 공급자 팩터리입니다.

customHttpClient
HttpClient

토큰을 가져올 때 사용할 선택 사항 HttpClient 입니다.

logger
ILogger

자격 증명을 획득하고 관리하는 동안 원격 분석 데이터를 수집하는 선택 사항 ILogger 입니다.

적용 대상