PublicClientApplication.IsUserInteractive Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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