javascript - 如何在应用程序 electron.js 中使用票证 kerberos?
问题描述
我正在使用 electron.js 开发一个跨平台应用程序。我需要调用具有集成安全性的 iis 服务器上的 web api。
在 Mac 计算机上,我创建了一个 kerberos 票证以连接到 Web API,从 chrome 浏览器它不会要求我提供凭据,因为它使用票证。但从应用程序电子不使用 kerberos 票。我该怎么做?
解决方案
You can use kerberos Node.js module in browser side of your application like this one, kerberos or you can search npm try different ones. Later you can connect browser side responsible for business logic with renderer side(UI) via ipc module.
推荐阅读
- ruby - 合并多个数组
- python - Python 请求与我的数据字典中的链接混淆
- javascript - 无法读取未定义反应js的属性'func'?
- c# - 如何使用 ExecuteScalar() 获取一个值并将其提供给您的 textbox.text?
- postman - 如何在邮递员中将多个变量作为标头请求传递?
- javascript - TypeScript 的无服务器打包问题
- java - 在 javafx 中绘图导致 ClassCastException Double 无法转换为 String
- angular - 使用索引值动态更改 Angular 6 材质特定表行
- javascript - 无法安装 Angular CLI
- jquery - 如何在css中实现flex内容的固定行和滚动行