Taal

AppCredentials Constructors

Definitie

Overloads

Name Description
AppCredentials(String, HttpClient, ILogger)

Initialiseert een nieuw exemplaar van de AppCredentials klasse.

AppCredentials(String, HttpClient, ILogger, String)

Initialiseert een nieuw exemplaar van de AppCredentials klasse.

AppCredentials(String, HttpClient, ILogger)

Initialiseert een nieuw exemplaar van de AppCredentials klasse.

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. De oauth-tokentenant.

customHttpClient
HttpClient

Optioneel HttpClient om te gebruiken bij het verkrijgen van tokens.

logger
ILogger

Het is optioneel ILogger om telemetriegegevens te verzamelen bij het verzamelen en beheren van inloggegevens.

Van toepassing op

AppCredentials(String, HttpClient, ILogger, String)

Initialiseert een nieuw exemplaar van de AppCredentials klasse.

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. De oauth-tokentenant.

customHttpClient
HttpClient

Optioneel HttpClient om te gebruiken bij het verkrijgen van tokens.

logger
ILogger

Het is optioneel ILogger om telemetriegegevens te verzamelen bij het verzamelen en beheren van inloggegevens.

oAuthScope
String

De scope voor de token.

Van toepassing op