<PackageReference Include="Microsoft.Identity.Client" Version="4.85.2" />

Microsoft.Identity.Client.SystemWebViewOptions

public class SystemWebViewOptions
Options for using the default OS browser as a separate process to handle interactive auth. MSAL will be listening for the OS browser to finish authenticating, but it cannot close the browser. It can however respond with a 200 OK message or a 302 Redirect, which can be configured here. For more details see https://aka.ms/msal-net-os-browser
public Uri BrowserRedirectError { get; set; }

When the user finishes authenticating, but an error occurred, MSAL will redirect the browser to the given Uri

public Uri BrowserRedirectSuccess { get; set; }

When the user finishes authenticating, MSAL will redirect the browser to the given Uri

public string HtmlMessageError { get; set; }

When the user finishes authenticating, but an error occurred, MSAL will respond with a 200 OK message, which the browser will show to the user. You can use a string format e.g. "An error has occurred: {0} details: {1}"

public string HtmlMessageSuccess { get; set; }

When the user finishes authenticating, MSAL will respond with a 200 OK message, which the browser will show to the user.

public bool iOSHidePrivacyPrompt { get; set; }

This hides the privacy prompt displayed on iOS Devices (ver 13.0+) when set to true. By default, it is false and displays the prompt.

public Func<Uri, Task> OpenBrowserAsync { get; set; }

Allows developers to implement their own logic for starting a browser and navigating to a specific Uri. MSAL will use this when opening the browser. Leave it null and the user configured browser will be used. Consider using the static helpers OpenWithEdgeBrowserAsync and OpenWithChromeEdgeBrowserAsync

Constructor

Use Microsoft Edge Chromium to navigate to the given URI. Requires the browser to be installed. On Linux, open edge if available otherwise open the default browser.

public static Task OpenWithEdgeBrowserAsync(Uri uri)

Use Microsoft Edge to navigate to the given URI. On non-windows platforms it uses whatever browser is the default.