共用方式為


OsCapabilitiesExtensions.IsSystemWebViewAvailable Method

Definition

Returns true if MSAL can use a system browser.

public static bool IsSystemWebViewAvailable (this Microsoft.Identity.Client.IPublicClientApplication publicClientApplication);
static member IsSystemWebViewAvailable : Microsoft.Identity.Client.IPublicClientApplication -> bool
<Extension()>
Public Function IsSystemWebViewAvailable (publicClientApplication As IPublicClientApplication) As Boolean

Parameters

publicClientApplication
IPublicClientApplication

Returns

Remarks

On Windows, Mac and Linux a system browser can always be used, except in cases where there is no UI, e.g. SSH connection. On Android, the browser must support tabs.

Applies to