Share via


DesktopExtensions.WithWindowsEmbeddedBrowserSupport Method

Definition

Adds better embedded browser support to MSAL. AAD applications will use the older WebBrowser control. Other applications (B2C, ADFS etc.) will use an embedded browser based on Microsoft Edge - https://aka.ms/msal-net-webview2

public static Microsoft.Identity.Client.PublicClientApplicationBuilder WithWindowsEmbeddedBrowserSupport (this Microsoft.Identity.Client.PublicClientApplicationBuilder builder);

Parameters

Returns

Remarks

This is not required for MAUI / WinUI applications. This is ignored on Mac and Linux.

Applies to