<PackageReference Include="Azure.Core" Version="1.53.0" />

Azure.Identity.BrowserCustomizationOptions

Options to customize browser view.
public string ErrorMessage { get; set; }

Property to set HtmlMessageError of SystemWebViewOptions from MSAL, which the browser will show to the user when the user finishes authenticating, but an error occurred. You can use a string format e.g. "An error has occurred: {0} details: {1}".

public string SuccessMessage { get; set; }

Property to set HtmlMessageSuccess of SystemWebViewOptions from MSAL, which the browser will show to the user when the user finishes authenticating successfully.

public bool? UseEmbeddedWebView { get; set; }

Specifies if the public client application should used an embedded web browser or the system default browser

Initializes a new instance of the BrowserCustomizationOptions class.