Share via


PublicClientApplication.IsUserInteractive Method

Definition

Returns false when the application runs in headless mode (e.g., when SSH-d into a Linux machine). Browsers (web views) and brokers cannot be used if there is no UI support. For those scenarios, use AcquireTokenWithDeviceCode(IEnumerable<String>, Func<DeviceCodeResult,Task>).

public bool IsUserInteractive ();
member this.IsUserInteractive : unit -> bool
Public Function IsUserInteractive () As Boolean

Returns

Applies to