MsalAppCredentials 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
| MsalAppCredentials(IConfidentialClientApplication, String, String, String, Boolean, ILogger) |
Initialiseert een nieuw exemplaar van de klasse MsalAppCredentials. |
| MsalAppCredentials(String, X509Certificate2, String, String, Boolean, ILogger) |
Initialiseert een nieuw exemplaar van de klasse MsalAppCredentials. |
| MsalAppCredentials(String, String, String, String, Boolean, ILogger) |
Initialiseert een nieuw exemplaar van de klasse MsalAppCredentials. |
| MsalAppCredentials(String, X509Certificate2, Boolean, String, String, Boolean, ILogger) |
Initialiseert een nieuw exemplaar van de klasse MsalAppCredentials. |
MsalAppCredentials(IConfidentialClientApplication, String, String, String, Boolean, ILogger)
Initialiseert een nieuw exemplaar van de klasse MsalAppCredentials.
public MsalAppCredentials(Microsoft.Identity.Client.IConfidentialClientApplication clientApplication, string appId, string authority = default, string scope = default, bool validateAuthority = true, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Connector.Authentication.MsalAppCredentials : Microsoft.Identity.Client.IConfidentialClientApplication * string * string * string * bool * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.MsalAppCredentials
Public Sub New (clientApplication As IConfidentialClientApplication, appId As String, Optional authority As String = Nothing, Optional scope As String = Nothing, Optional validateAuthority As Boolean = true, Optional logger As ILogger = Nothing)
Parameters
- clientApplication
- IConfidentialClientApplication
De clienttoepassing die moet worden gebruikt om tokens te verkrijgen.
- appId
- String
De Microsoft-toepassings-id.
- authority
- String
Optionele instantie.
- scope
- String
Optioneel aangepast bereik.
- validateAuthority
- Boolean
Of de instantie moet worden gevalideerd.
Van toepassing op
MsalAppCredentials(String, X509Certificate2, String, String, Boolean, ILogger)
Initialiseert een nieuw exemplaar van de klasse MsalAppCredentials.
public MsalAppCredentials(string appId, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, string authority = default, string scope = default, bool validateAuthority = true, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Connector.Authentication.MsalAppCredentials : string * System.Security.Cryptography.X509Certificates.X509Certificate2 * string * string * bool * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.MsalAppCredentials
Public Sub New (appId As String, certificate As X509Certificate2, Optional authority As String = Nothing, Optional scope As String = Nothing, Optional validateAuthority As Boolean = true, Optional logger As ILogger = Nothing)
Parameters
- appId
- String
De Microsoft-toepassings-id.
- certificate
- X509Certificate2
Het certificaat dat moet worden gebruikt voor verificatie.
- authority
- String
Optionele instantie.
- scope
- String
Optioneel aangepast bereik.
- validateAuthority
- Boolean
Optionele schakeloptie voor het valideren van de instantie.
Van toepassing op
MsalAppCredentials(String, String, String, String, Boolean, ILogger)
Initialiseert een nieuw exemplaar van de klasse MsalAppCredentials.
public MsalAppCredentials(string appId, string appPassword, string authority = default, string scope = default, bool validateAuthority = true, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Connector.Authentication.MsalAppCredentials : string * string * string * string * bool * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.MsalAppCredentials
Public Sub New (appId As String, appPassword As String, Optional authority As String = Nothing, Optional scope As String = Nothing, Optional validateAuthority As Boolean = true, Optional logger As ILogger = Nothing)
Parameters
- appId
- String
De Microsoft-toepassings-id.
- appPassword
- String
Het wachtwoord van de Microsoft-toepassing.
- authority
- String
Optionele instantie.
- scope
- String
Optioneel aangepast bereik.
- validateAuthority
- Boolean
Of de instantie moet worden gevalideerd.
Van toepassing op
MsalAppCredentials(String, X509Certificate2, Boolean, String, String, Boolean, ILogger)
Initialiseert een nieuw exemplaar van de klasse MsalAppCredentials.
public MsalAppCredentials(string appId, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, bool sendX5c, string authority = default, string scope = default, bool validateAuthority = true, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Connector.Authentication.MsalAppCredentials : string * System.Security.Cryptography.X509Certificates.X509Certificate2 * bool * string * string * bool * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.MsalAppCredentials
Public Sub New (appId As String, certificate As X509Certificate2, sendX5c As Boolean, Optional authority As String = Nothing, Optional scope As String = Nothing, Optional validateAuthority As Boolean = true, Optional logger As ILogger = Nothing)
Parameters
- appId
- String
De Microsoft-toepassings-id.
- certificate
- X509Certificate2
Het certificaat dat moet worden gebruikt voor verificatie.
- sendX5c
- Boolean
Als waar het openbare certificaat wordt verzonden naar Azure AD, samen met de tokenaanvraag, zodat Azure AD dit kan gebruiken om de onderwerpnaam te valideren op basis van een beleid voor vertrouwde uitgevers.
- authority
- String
Optionele instantie.
- scope
- String
Optioneel aangepast bereik.
- validateAuthority
- Boolean
Optionele schakeloptie voor het valideren van de instantie.