다음을 통해 공유


CertificateServiceClientCredentialsFactory 생성자

정의

CertificateServiceClientCredentialsFactory 클래스의 새 인스턴스를 초기화합니다.

public CertificateServiceClientCredentialsFactory(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, string appId, string tenantId = default, System.Net.Http.HttpClient httpClient = default, Microsoft.Extensions.Logging.ILogger logger = default, bool sendX5c = false);
new Microsoft.Bot.Connector.Authentication.CertificateServiceClientCredentialsFactory : System.Security.Cryptography.X509Certificates.X509Certificate2 * string * string * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger * bool -> Microsoft.Bot.Connector.Authentication.CertificateServiceClientCredentialsFactory
Public Sub New (certificate As X509Certificate2, appId As String, Optional tenantId As String = Nothing, Optional httpClient As HttpClient = Nothing, Optional logger As ILogger = Nothing, Optional sendX5c As Boolean = false)

매개 변수

certificate
X509Certificate2

인증에 사용할 인증서입니다.

appId
String

인증서와 관련된 Microsoft 애플리케이션 ID입니다.

tenantId
String

oauth 토큰 테넌트입니다.

httpClient
HttpClient

사용할 사용자 지정 httpClient입니다.

logger
ILogger

사용할 로거 인스턴스입니다.

sendX5c
Boolean

CertificateAppCredentials가 요청에 인증서 체인을 보내야 하는 경우 플래그입니다. 지문 대신 인증서 주체 이름(CNAME 아님) 및 발급자를 사용하여 AAD로 인증할 수 있습니다.

적용 대상