MicrosoftAppCredentials Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| MicrosoftAppCredentials(String, String, HttpClient, ILogger, String) |
Initialiseert een nieuw exemplaar van de MicrosoftAppCredentials klasse. |
| MicrosoftAppCredentials(String, String, String, HttpClient, ILogger, String) |
Initialiseert een nieuw exemplaar van de MicrosoftAppCredentials klasse. |
MicrosoftAppCredentials(String, String, HttpClient, ILogger, String)
Initialiseert een nieuw exemplaar van de MicrosoftAppCredentials klasse.
public MicrosoftAppCredentials(string appId, string password, System.Net.Http.HttpClient customHttpClient = default, Microsoft.Extensions.Logging.ILogger logger = default, string oAuthScope = default);
new Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials : string * string * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger * string -> Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials
Public Sub New (appId As String, password As String, Optional customHttpClient As HttpClient = Nothing, Optional logger As ILogger = Nothing, Optional oAuthScope As String = Nothing)
Parameters
- appId
- String
De Microsoft-app-id.
- password
- String
Het wachtwoord van de Microsoft-app.
- 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
Het bereik voor het token.
Van toepassing op
MicrosoftAppCredentials(String, String, String, HttpClient, ILogger, String)
Initialiseert een nieuw exemplaar van de MicrosoftAppCredentials klasse.
public MicrosoftAppCredentials(string appId, string password, string channelAuthTenant, System.Net.Http.HttpClient customHttpClient = default, Microsoft.Extensions.Logging.ILogger logger = default, string oAuthScope = default);
new Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials : string * string * string * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger * string -> Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials
Public Sub New (appId As String, password As String, channelAuthTenant As String, Optional customHttpClient As HttpClient = Nothing, Optional logger As ILogger = Nothing, Optional oAuthScope As String = Nothing)
Parameters
- appId
- String
De Microsoft-app-id.
- password
- String
Het wachtwoord van de Microsoft-app.
- channelAuthTenant
- String
Facultatief. 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
Het bereik voor het token.