Jaa


AppCredentials Constructors

Definition

Overloads

AppCredentials(String, HttpClient, ILogger)

Initializes a new instance of the AppCredentials class.

AppCredentials(String, HttpClient, ILogger, String)

Initializes a new instance of the AppCredentials class.

AppCredentials(String, HttpClient, ILogger)

Initializes a new instance of the AppCredentials class.

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

Parameters

channelAuthTenant
String

Optional. The oauth token tenant.

customHttpClient
HttpClient

Optional HttpClient to be used when acquiring tokens.

logger
ILogger

Optional ILogger to gather telemetry data while acquiring and managing credentials.

Applies to

AppCredentials(String, HttpClient, ILogger, String)

Initializes a new instance of the AppCredentials class.

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

Parameters

channelAuthTenant
String

Optional. The oauth token tenant.

customHttpClient
HttpClient

Optional HttpClient to be used when acquiring tokens.

logger
ILogger

Optional ILogger to gather telemetry data while acquiring and managing credentials.

oAuthScope
String

The scope for the token.

Applies to