CertificateGovernmentAppCredentials 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
CertificateGovernmentAppCredentials(CertificateAppCredentialsOptions)
CertificateGovernmentAppCredentials 클래스의 새 인스턴스를 초기화합니다.
public CertificateGovernmentAppCredentials (Microsoft.Bot.Connector.Authentication.CertificateAppCredentialsOptions options);
new Microsoft.Bot.Connector.Authentication.CertificateGovernmentAppCredentials : Microsoft.Bot.Connector.Authentication.CertificateAppCredentialsOptions -> Microsoft.Bot.Connector.Authentication.CertificateGovernmentAppCredentials
Public Sub New (options As CertificateAppCredentialsOptions)
매개 변수
- options
- CertificateAppCredentialsOptions
이 CertificateAppCredentials에 대한 옵션입니다.
적용 대상
CertificateGovernmentAppCredentials(X509Certificate2, String, String, HttpClient, ILogger)
CertificateGovernmentAppCredentials 클래스의 새 인스턴스를 초기화합니다.
public CertificateGovernmentAppCredentials (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.CertificateGovernmentAppCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 * string * string * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.CertificateGovernmentAppCredentials
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.
적용 대상
CertificateGovernmentAppCredentials(X509Certificate2, Boolean, String, String, HttpClient, ILogger)
CertificateGovernmentAppCredentials 클래스의 새 인스턴스를 초기화합니다.
public CertificateGovernmentAppCredentials (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.CertificateGovernmentAppCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 * bool * string * string * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.CertificateGovernmentAppCredentials
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.
적용 대상
CertificateGovernmentAppCredentials(X509Certificate2, String, String, String, Boolean, HttpClient, ILogger)
CertificateGovernmentAppCredentials 클래스의 새 인스턴스를 초기화합니다.
public CertificateGovernmentAppCredentials (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.CertificateGovernmentAppCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 * string * string * string * bool * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.CertificateGovernmentAppCredentials
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.