javascript - Windows 8 应用程序 - 单点登录应用程序 - 未加入域

标签 javascript authentication windows-8 windows-runtime windows-store-apps

我正在构建一个 Windows 8 应用程序,我将在其中使用密码保管库捕获和存储凭据。然后我想将它们用于对特定域的所有 HTTPS 请求。这对于单个请求来说很容易,但我希望它是无缝的。我无法在 list 中使用企业身份验证功能,因为这些机器没有加入域。我查看了 Web 身份验证代理,但这似乎是针对使用 OAuth 的。

我的问题是,有没有办法:

1) Enable Enterprise Authentication and white-list the domain to use
these credentials for (even though these machines are not domain joined)?

2) Use Web Authentication to somehow use
my credentials (that I capture during initial launch) for all HTTPS
requests without OAuth? 

3) If none of the above work, what is the
best way to use credentials that are in the Password Vault for all
HTTP requests to a specific domain, rather than pragmatically
submitting them with each request? (want this to be seamless so I
can write HTML without calling on this JavaScript function each
time.  Thanks!

最佳答案

我认为这在 Windows 8 中是不可能的。您需要使用每个请求提交凭据 WinJS.xhr()XMLHttpRequest.open(),或更新您的服务以支持 OAuth 或 OpenID。

关于javascript - Windows 8 应用程序 - 单点登录应用程序 - 未加入域,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14430118/

相关文章:

javascript - Express 4错误: Can't set headers after they are sent

javascript - 告诉 Angular 不要刷新 View

javascript - 使用 Select2 仅加载一次远程数据

php - 使用 Curl 登录网站,转到链接,再次提交表单并获取输出

F# WinRT 的优点

javascript - 如何排序和过滤实现了 IListDataAdapter 的 WinJS 自定义数据源?

javascript - try-catch block 是使用 `in` 运算符的可靠方法吗?

ios - iOS 应用程序中的 Okta 身份验证失败,且详细信息有效

authentication - IdentityServer4 客户端 - 在 CookieAuthenticationEvents 上刷新访问 token

c# - 使用 C# Windows 8 应用启动/停止服务