Scribe 支持 3 足 OAuth 吗?
Scribe OAuth 库(用 Java 编写)是否支持 3-legged OAuth?
这里有人说它只适合两条腿:
如何在 GWT 应用程序中使用 OAuth?
[...]这是因为抄写员适用于 2-legged-auth [...]
但在此博客文章的代码片段中: Java 中的双腿 OAuth(使用 Scribe)访问 SimpleGeo
我读到:
[...] 对于 3 足,您需要请求授权令牌 [...]
这给我的印象是 3-legged OAuth 是可能的,尽管我不知道它有多容易或多难。 (我是 OAuth 新手。)
(什么是 3-legged OAuth?搜索“3-legged”,此处。)
Does the Scribe OAuth library (written in Java) support 3-legged OAuth?
Here someone says it's for 2-legged only:
How do I use OAuth within my GWT application?
[...] this is because scribe is for 2-legged-auth [...]
But in a code snippet on this blog post:
Two-Legged OAuth in Java (using Scribe) to Access SimpleGeo
I read:
[...] for 3-legged you would need to request the authorization token [...]
which gives me the impression 3-legged OAuth is possible, albeit I don't know how easy or hard it would be. (I'm new to OAuth.)
(What is 3-legged OAuth? Search for "3-legged", here.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,scribe 确实支持 3 足 OAuth。您可以尝试其完全执行 3 足 OAuth 的示例。您确实需要熟悉 Maven 才能轻松构建和运行测试。当我在 http://agilesc.barryku.com 上测试雅虎的联系数据时,我写了一些关于它的内容/?p=175。
Yes, scribe does support 3-legged OAuth. You can try its examples that do exactly the 3-legged OAuth. You do need to be familiar with Maven to build and run tests easily. I wrote something about it when I was testing scribe against Yahoo's contact data at http://agilesc.barryku.com/?p=175.