MicrosoftAppCredentials MicrosoftAppCredentials MicrosoftAppCredentials Constructors

Definition

Overloads

MicrosoftAppCredentials(String, String) MicrosoftAppCredentials(String, String) MicrosoftAppCredentials(String, String)

Creates a new instance of the MicrosoftAppCredentials class.

MicrosoftAppCredentials(String, String, HttpClient) MicrosoftAppCredentials(String, String, HttpClient) MicrosoftAppCredentials(String, String, HttpClient)

Creates a new instance of the MicrosoftAppCredentials class.

MicrosoftAppCredentials(String, String, String, HttpClient) MicrosoftAppCredentials(String, String, String, HttpClient) MicrosoftAppCredentials(String, String, String, HttpClient)

MicrosoftAppCredentials(String, String) MicrosoftAppCredentials(String, String) MicrosoftAppCredentials(String, String)

Creates a new instance of the MicrosoftAppCredentials class.

public MicrosoftAppCredentials (string appId, string password);
new Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials : string * string -> Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials
Public Sub New (appId As String, password As String)

Parameters

appId
String String String

The Microsoft app ID.

password
String String String

The Microsoft app password.

MicrosoftAppCredentials(String, String, HttpClient) MicrosoftAppCredentials(String, String, HttpClient) MicrosoftAppCredentials(String, String, HttpClient)

Creates a new instance of the MicrosoftAppCredentials class.

public MicrosoftAppCredentials (string appId, string password, System.Net.Http.HttpClient customHttpClient);
new Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials : string * string * System.Net.Http.HttpClient -> Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials
Public Sub New (appId As String, password As String, customHttpClient As HttpClient)

Parameters

appId
String String String

The Microsoft app ID.

password
String String String

The Microsoft app password.

customHttpClient
HttpClient HttpClient HttpClient

Optional HttpClient to be used when acquiring tokens.

MicrosoftAppCredentials(String, String, String, HttpClient) MicrosoftAppCredentials(String, String, String, HttpClient) MicrosoftAppCredentials(String, String, String, HttpClient)

public MicrosoftAppCredentials (string appId, string password, string channelAuthTenant, System.Net.Http.HttpClient customHttpClient);
new Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials : string * string * string * System.Net.Http.HttpClient -> Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials
Public Sub New (appId As String, password As String, channelAuthTenant As String, customHttpClient As HttpClient)

Parameters

password
String String String
channelAuthTenant
String String String
customHttpClient
HttpClient HttpClient HttpClient

Applies to