某处是否有任何 C 语言(甚至 C++)OpenID 库?
OpenID 开发者页面 之一宣传了一个,但事实证明是一个错字。我在谷歌上找不到。
有谁知道用 C1 语言编写的 OpenID 接口库吗?
谢谢!
1 被一些人认为是过时的 - 所以'70s dontcha'知道 - 但有人喜欢它。
One of the OpenID developers pages advertises one, but that turns out to be a typo. I find none on Google.
Does anyone know of an OpenID interface library written in the C1 language?
Thanks!
1 Held by some to be archaic -- so '70s dontcha' know -- but there are those who love it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我不知道有哪个 C 语言库,但 libopkele 似乎是一个这样的 C++ 库。然而,我从未使用过它,所以我不能保证它。
I don't know of one for C, but libopkele appears to be one such library for C++. However, I have never used it, so I cannot vouch for it.
阅读了@DOK 的评论后,我进行了更深入的挖掘。 Google 身份验证服务 和 < a href="http://developer.yahoo.com/oauth/guide/oauth-guide.html" rel="nofollow"> 雅虎!身份验证服务使用 OAuth 开放协议。
身份验证(我称之为“API”)看起来完全是作为一系列与服务的 HTTP 消息交换来实现的,因此 C 程序的适当 API 是 libcurl。
After reading the comment from @DOK I dug a little deeper. Both the Google authentication service and the Yahoo! authentication service use the OAuth open protocol.
Authentication -- the "API," as I called it -- looks to be implemented entirely as a series of HTTP-message interchanges with the service, so the appropriate API for a C program is libcurl.
ZmartZone 在 GitHub 上提供了 liboauth2。目前,文档基本上不存在,但自述文件中有联系信息,可以从开发人员那里获得帮助。您可以在这里找到该库:
https://github.com/zmartzone/liboauth2
注意:此开发人员是提供此处列出的经过认证的中继方解决方案之一的同一开发商:
https://openid.net/developers/certified/#RPLibs
ZmartZone has provided liboauth2 on GitHub. Currently, documentation is essentially non-existent but there is contact info in the README to get help from the developers. You can find the library here:
https://github.com/zmartzone/liboauth2
Note: This developer is the same developer that provided one of the certified Relaying Party solutions listed here:
https://openid.net/developers/certified/#RPLibs