다음을 통해 공유


MicrosoftGovernmentAppCredentials 생성자

정의

오버로드

MicrosoftGovernmentAppCredentials(String, String, HttpClient, ILogger, String)

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

MicrosoftGovernmentAppCredentials(String, String, String, HttpClient, ILogger, String)

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

MicrosoftGovernmentAppCredentials(String, String, HttpClient, ILogger, String)

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

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

매개 변수

appId
String

Microsoft 앱 ID입니다.

password
String

Microsoft 앱 암호입니다.

customHttpClient
HttpClient

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

logger
ILogger

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

oAuthScope
String

토큰의 범위입니다(null인 경우 기본값은 ToChannelFromBotOAuthScope).

적용 대상

MicrosoftGovernmentAppCredentials(String, String, String, HttpClient, ILogger, String)

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

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

매개 변수

appId
String

Microsoft 앱 ID입니다.

password
String

Microsoft 앱 암호입니다.

channelAuthTenant
String

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

customHttpClient
HttpClient

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

logger
ILogger

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

oAuthScope
String

토큰의 범위입니다(null인 경우 기본값은 ToChannelFromBotOAuthScope).

적용 대상