다음을 통해 공유


CertificateAppCredentials 생성자

정의

오버로드

CertificateAppCredentials(CertificateAppCredentialsOptions)

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

CertificateAppCredentials(X509Certificate2, String, String, HttpClient, ILogger)

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

CertificateAppCredentials(X509Certificate2, Boolean, String, String, HttpClient, ILogger)

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

CertificateAppCredentials(X509Certificate2, String, String, String, Boolean, HttpClient, ILogger)

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

CertificateAppCredentials(CertificateAppCredentialsOptions)

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

public CertificateAppCredentials (Microsoft.Bot.Connector.Authentication.CertificateAppCredentialsOptions options);
new Microsoft.Bot.Connector.Authentication.CertificateAppCredentials : Microsoft.Bot.Connector.Authentication.CertificateAppCredentialsOptions -> Microsoft.Bot.Connector.Authentication.CertificateAppCredentials
Public Sub New (options As CertificateAppCredentialsOptions)

매개 변수

options
CertificateAppCredentialsOptions

이 CertificateAppCredentials에 대한 옵션입니다.

적용 대상

CertificateAppCredentials(X509Certificate2, String, String, HttpClient, ILogger)

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

public CertificateAppCredentials (System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate, string appId, string channelAuthTenant = default, System.Net.Http.HttpClient customHttpClient = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Connector.Authentication.CertificateAppCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 * string * string * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.CertificateAppCredentials
Public Sub New (clientCertificate As X509Certificate2, appId As String, Optional channelAuthTenant As String = Nothing, Optional customHttpClient As HttpClient = Nothing, Optional logger As ILogger = Nothing)

매개 변수

clientCertificate
X509Certificate2

인증을 위해 표시할 클라이언트 인증서입니다.

appId
String

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

channelAuthTenant
String

선택적. oauth 토큰 테넌트입니다.

customHttpClient
HttpClient

토큰을 획득할 때 사용할 선택적 HttpClient.

logger
ILogger

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

적용 대상

CertificateAppCredentials(X509Certificate2, Boolean, String, String, HttpClient, ILogger)

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

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

매개 변수

clientCertificate
X509Certificate2

인증을 위해 표시할 클라이언트 인증서입니다.

sendX5c
Boolean

이 매개 변수가 true이면 애플리케이션 개발자가 Azure AD에서 쉽게 인증서 롤오버를 수행할 수 있습니다. 이 매개 변수를 true로 설정하면 Azure AD에서 토큰 요청과 함께 공용 인증서를 Azure AD로 보내므로 Azure AD에서 신뢰할 수 있는 발급자 정책에 따라 주체 이름의 유효성을 검사할 수 있습니다.

appId
String

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

channelAuthTenant
String

선택적. oauth 토큰 테넌트입니다.

customHttpClient
HttpClient

토큰을 획득할 때 사용할 선택적 HttpClient.

logger
ILogger

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

적용 대상

CertificateAppCredentials(X509Certificate2, String, String, String, Boolean, HttpClient, ILogger)

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

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

매개 변수

clientCertificate
X509Certificate2

인증을 위해 표시할 클라이언트 인증서입니다.

appId
String

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

channelAuthTenant
String

선택적. oauth 토큰 테넌트입니다.

oAuthScope
String

선택적. 토큰의 범위입니다.

sendX5c
Boolean

선택적. 이 매개 변수가 true이면 애플리케이션 개발자가 Azure AD에서 쉽게 인증서 롤오버를 수행할 수 있습니다. 이 매개 변수를 true로 설정하면 Azure AD에서 토큰 요청과 함께 공용 인증서를 Azure AD로 보내므로 Azure AD에서 신뢰할 수 있는 발급자 정책에 따라 주체 이름의 유효성을 검사할 수 있습니다.

customHttpClient
HttpClient

토큰을 획득할 때 사용할 선택적 HttpClient.

logger
ILogger

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

적용 대상