Java 中的 OAuth 2.0 开源实现

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3652418/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 02:51:35  来源:igfitidea点击:

OAuth 2.0 Open Source implementation in Java

javaopen-sourceoauthidentity

提问by mictter

We will shortly build a prototype which will play the role of an OAuth client to interact with sites such as Facebook. A requirement is that we use OAuth 2.0 (knowing it is still in draft status).
Do you know of any Open Source Java implementations of an OAuth 2.0 client library? Our goal is to use it in our prototype, contributing to the project if possible.

我们将很快构建一个原型,该原型将扮演 OAuth 客户端的角色,与 Facebook 等网站进行交互。一个要求是我们使用 OAuth 2.0(知道它仍处于草案状态)。
您知道 OAuth 2.0 客户端库的任何开源 Java 实现吗?我们的目标是在我们的原型中使用它,尽可能为项目做出贡献。

回答by Richard Kettelerij

回答by Lukasz Moren

Look at newly released java library: leeloo.smartam.netCompliant with oauth 2.0 draft 10, same as used by Facebook.

查看新发布的java库:leeloo.smartam.net符合oauth 2.0 Draft 10,与Facebook使用的相同。

回答by divyanshm

Take a look at this - http://oauth.googlecode.com/svn/code/

看看这个 - http://oauth.googlecode.com/svn/code/

You have Java client implementations too.

您也有 Java 客户端实现。