AppCredentials Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
- oAuthScope
- String
The scope for the token.