PublicClientApplication.IsUserInteractive 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當應用程式以無頭模式執行時(例如透過 SSH-d 連接 Linux 機器)時會回傳 false 。
如果沒有 UI 支援,瀏覽器(網頁檢視)和代理工具就無法使用。 對於這些情境,請使用 AcquireTokenWithDeviceCode(IEnumerable<String>, Func<DeviceCodeResult,Task>)。
public bool IsUserInteractive();
member this.IsUserInteractive : unit -> bool
Public Function IsUserInteractive () As Boolean