内容简介:ScribeJava 5.3.0 已发布,ScribeJava 是一个简单的 Java 实现的 OAuth/OAuth2 库。 示例代码: OAuthService service = new ServiceBuilder() .apiKey(YOUR_API_KEY) ...
ScribeJava 5.3.0 已发布,ScribeJava 是一个简单的 Java 实现的 OAuth/OAuth2 库。
示例代码:
OAuthService service = new ServiceBuilder() .apiKey(YOUR_API_KEY) .apiSecret(YOUR_API_SECRET) .build(LinkedInApi20.instance());
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
使用
<dependency> <groupId>com.github.scribejava</groupId> <artifactId>scribejava-apis</artifactId> <version>5.3.0</version> </dependency>
只使用核心类
<dependency> <groupId>com.github.scribejava</groupId> <artifactId>scribejava-core</artifactId> <version>5.3.0</version> </dependency>
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上所述就是小编给大家介绍的《ScribeJava 5.3.0 发布,简单的 OAuth Java 库》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
jQuery 技术内幕
高云 / 机械工业出版社 / 2014-1-1 / 99元
本书首先通过“总体架构”梳理了各个模块的分类、功能和依赖关系,让大家对jQuery的工作原理有大致的印象;进而通过“构造 jQuery 对象”章节分析了构造函数 jQuery() 的各种用法和内部构造过程;接着详细分析了底层支持模块的源码实现,包括:选择器 Sizzle、异步队列 Deferred、数据缓存 Data、队列 Queue、浏览器功能测试 Support;最后详细分析了功能模块的源码实......一起来看看 《jQuery 技术内幕》 这本书的介绍吧!