共用方式為


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);
static member WithWindowsEmbeddedBrowserSupport : Microsoft.Identity.Client.PublicClientApplicationBuilder -> Microsoft.Identity.Client.PublicClientApplicationBuilder
<Extension()>
Public Function WithWindowsEmbeddedBrowserSupport (builder As PublicClientApplicationBuilder) As PublicClientApplicationBuilder

Parameters

Returns

Remarks

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

Applies to