避免 UWP 应用中出现 Web 身份验证浏览器弹出窗口



使用 WebAuthenticationBroker 时,是否可以避免在 UWP 应用中出现弹出窗口?我知道使用WebAuthenticationBroker不如使用系统浏览器安全,但这是我们目前必须使用的。根据我的研究和测试,没有办法避免弹出Web身份验证浏览器进行身份验证。

您可以尝试AuthenticateSilentlyAsync WebAuthenticationBroker Class的方法。

它使用一个输入以静默方式启动异步身份验证操作(不会显示任何 UI)。

最新更新