ScribeJava 5.3.0发布,简单的OAuth Java库

作者: baihuo 2018-03-08 09:08:09
ScribeJava 5.3.0 已发布,ScribeJava 是一个简单的 Java 实现的 OAuth/OAuth2 库。

示例代码:[code]OAuthService service = new ServiceBuilder()
.apiKey(YOUR_API_KEY)
.apiSecret(YOUR_API_SECRET)
.build(LinkedInApi20.instance());[/code]5.3.0 的更新内容主要是修复和添加各种 API:

fix Salesforce API (thanks to https://github.com/jhorowitz-firedrum)

remove 'final' from methods in OAuth[10a|20]Service to allow mocking it

fix Pinterest API (thanks to https://github.com/sschwieb)

add Yahoo2 API (thanks to https://github.com/javatestcase)

fix Tumblr urls, convert to https (thanks to https://github.com/highthunder)

fix: allow spaces in scope param in OAuth2Accesstoken response

add required param version to VK ВКонтакте (http://vk.com/) urls

源码下载:https://github.com/scribejava/scribejava/releases/tag/scribejava-5.3.0

使用[code]
com.github.scribejava
scribejava-apis
5.3.0
[/code]只使用核心类[code]
com.github.scribejava
scribejava-core
5.3.0
[/code]来自:开源中国社区

相关资讯