OsCapabilitiesExtensions.IsUserInteractive(IPublicClientApplication) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Retourneert onwaar wanneer het programma wordt uitgevoerd in het hoofdloze besturingssysteem, bijvoorbeeld wanneer SSH is uitgevoerd op een Linux-computer. Browsers (webweergaven) en brokers kunnen niet worden gebruikt als er geen ui-ondersteuning is. Gebruik in plaats daarvan AcquireTokenWithDeviceCode(IEnumerable<String>, Func<DeviceCodeResult,Task>) of AcquireTokenByIntegratedWindowsAuth(IEnumerable<String>)
public static bool IsUserInteractive(this Microsoft.Identity.Client.IPublicClientApplication publicClientApplication);
static member IsUserInteractive : Microsoft.Identity.Client.IPublicClientApplication -> bool
<Extension()>
Public Function IsUserInteractive (publicClientApplication As IPublicClientApplication) As Boolean
Parameters
- publicClientApplication
- IPublicClientApplication