PasswordServiceClientCredentialFactory Constructors

Definition

Overloads

PasswordServiceClientCredentialFactory()

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

PasswordServiceClientCredentialFactory(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, HttpClient, ILogger)

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

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

Parameters

appId
String

The app ID.

password
String

The app password.

httpClient
HttpClient

A custom httpClient to use.

logger
ILogger

A logger instance to use.

Applies to