DesktopExtensions.WithWindowsDesktopFeatures Methode

Definition

Bietet erweiterte Unterstützung für Desktopanwendungen, z. B. CLI, WinForms, WPF-Apps.

  • Windows Authentication Manager (WAM)-Broker, der empfohlene Authentifizierungsmechanismus auf Windows 10+ -https://aka.ms/msal-net-wam
  • Eingebettete Webansicht. AAD-Anwendungen verwenden das ältere WebBrowser-Steuerelement. Andere Anwendungen (B2C, ADFS usw.) verwenden WebView2, einen eingebetteten Browser basierend auf Microsoft Edge -https://aka.ms/msal-net-webview2
public static Microsoft.Identity.Client.PublicClientApplicationBuilder WithWindowsDesktopFeatures(this Microsoft.Identity.Client.PublicClientApplicationBuilder builder, Microsoft.Identity.Client.BrokerOptions brokerOptions);
static member WithWindowsDesktopFeatures : Microsoft.Identity.Client.PublicClientApplicationBuilder * Microsoft.Identity.Client.BrokerOptions -> Microsoft.Identity.Client.PublicClientApplicationBuilder
<Extension()>
Public Function WithWindowsDesktopFeatures (builder As PublicClientApplicationBuilder, brokerOptions As BrokerOptions) As PublicClientApplicationBuilder

Parameter

brokerOptions
BrokerOptions

Gibt zurück

Hinweise

Dies ist für MAUI/WinUI-Anwendungen nicht erforderlich.

Gilt für: