ScribeJava 5.3.0 发布,简单的 OAuth Java 库

栏目: 软件资讯 · 发布时间: 7年前

内容简介: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 库》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Pro HTML5 and CSS3 Design Patterns

Pro HTML5 and CSS3 Design Patterns

Michael Bowers / Apress / 2011-11-15 / GBP 35.50

Pro HTML5 and CSS3 Design Patterns is a reference book and a cookbook on how to style web pages using CSS3 and HTML5. It contains 350 ready--to--use patterns (CSS3 and HTML5 code snippets) that you ca......一起来看看 《Pro HTML5 and CSS3 Design Patterns》 这本书的介绍吧!

html转js在线工具
html转js在线工具

html转js在线工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具