Share via


PasswordServiceClientCredentialFactory Constructors

Definition

Overloads

PasswordServiceClientCredentialFactory()

Initializes a new instance of the PasswordServiceClientCredentialFactory class. with empty credentials.

PasswordServiceClientCredentialFactory(String, String, String, HttpClient, ILogger)

Initializes a new instance of the PasswordServiceClientCredentialFactory class. with the provided credentials.

PasswordServiceClientCredentialFactory()

Initializes a new instance of the PasswordServiceClientCredentialFactory class. with empty credentials.

public PasswordServiceClientCredentialFactory ();
Public Sub New ()

Applies to

PasswordServiceClientCredentialFactory(String, String, String, HttpClient, ILogger)

Initializes a new instance of the PasswordServiceClientCredentialFactory class. with the provided credentials.

public PasswordServiceClientCredentialFactory (string appId, string password, string tenantId, System.Net.Http.HttpClient httpClient, Microsoft.Extensions.Logging.ILogger logger);
new Microsoft.Bot.Connector.Authentication.PasswordServiceClientCredentialFactory : string * string * string * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.PasswordServiceClientCredentialFactory
Public Sub New (appId As String, password As String, tenantId As String, httpClient As HttpClient, logger As ILogger)

Parameters

appId
String

The app ID.

password
String

The app password.

tenantId
String

Tenant ID of the Azure AD tenant where the bot is created.

httpClient
HttpClient

A custom httpClient to use.

logger
ILogger

A logger instance to use.

Applies to