🔖 升级版本到1.15.7
This commit is contained in:
+3
-3
@@ -6,7 +6,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a target="_blank" href="https://search.maven.org/search?q=JustAuth">
|
<a target="_blank" href="https://search.maven.org/search?q=JustAuth">
|
||||||
<img src="https://img.shields.io/badge/Maven%20Central--1.15.6-blue" ></img>
|
<img src="https://img.shields.io/badge/Maven%20Central--1.15.7-blue" ></img>
|
||||||
</a>
|
</a>
|
||||||
<a target="_blank" href="https://gitee.com/yadong.zhang/JustAuth/blob/master/LICENSE">
|
<a target="_blank" href="https://gitee.com/yadong.zhang/JustAuth/blob/master/LICENSE">
|
||||||
<img src="https://img.shields.io/apm/l/vim-mode.svg?color=yellow" ></img>
|
<img src="https://img.shields.io/apm/l/vim-mode.svg?color=yellow" ></img>
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<img src="https://img.shields.io/badge/JDK-1.8+-green.svg" ></img>
|
<img src="https://img.shields.io/badge/JDK-1.8+-green.svg" ></img>
|
||||||
</a>
|
</a>
|
||||||
<a target="_blank" href="https://apidoc.gitee.com/yadong.zhang/JustAuth/" title="API文档">
|
<a target="_blank" href="https://apidoc.gitee.com/yadong.zhang/JustAuth/" title="API文档">
|
||||||
<img src="https://img.shields.io/badge/Api%20Docs--1.15.6-latest-orange" ></img>
|
<img src="https://img.shields.io/badge/Api%20Docs--1.15.7-latest-orange" ></img>
|
||||||
</a>
|
</a>
|
||||||
<a target="_blank" href="https://justauth.wiki" title="参考文档">
|
<a target="_blank" href="https://justauth.wiki" title="参考文档">
|
||||||
<img src="https://img.shields.io/badge/Docs-latest-blueviolet.svg" ></img>
|
<img src="https://img.shields.io/badge/Docs-latest-blueviolet.svg" ></img>
|
||||||
@@ -97,7 +97,7 @@ These artifacts are available from Maven Central:
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>me.zhyd.oauth</groupId>
|
<groupId>me.zhyd.oauth</groupId>
|
||||||
<artifactId>JustAuth</artifactId>
|
<artifactId>JustAuth</artifactId>
|
||||||
<version>1.15.6</version>
|
<version>1.15.7</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
- Using JustAuth
|
- Using JustAuth
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a target="_blank" href="https://search.maven.org/search?q=JustAuth">
|
<a target="_blank" href="https://search.maven.org/search?q=JustAuth">
|
||||||
<img src="https://img.shields.io/badge/Maven%20Central--1.15.6-blue" ></img>
|
<img src="https://img.shields.io/badge/Maven%20Central--1.15.7-blue" ></img>
|
||||||
</a>
|
</a>
|
||||||
<a target="_blank" href="https://gitee.com/yadong.zhang/JustAuth/blob/master/LICENSE">
|
<a target="_blank" href="https://gitee.com/yadong.zhang/JustAuth/blob/master/LICENSE">
|
||||||
<img src="https://img.shields.io/apm/l/vim-mode.svg?color=yellow" ></img>
|
<img src="https://img.shields.io/apm/l/vim-mode.svg?color=yellow" ></img>
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<img src="https://img.shields.io/badge/JDK-1.8+-green.svg" ></img>
|
<img src="https://img.shields.io/badge/JDK-1.8+-green.svg" ></img>
|
||||||
</a>
|
</a>
|
||||||
<a target="_blank" href="https://apidoc.gitee.com/yadong.zhang/JustAuth/" title="API文档">
|
<a target="_blank" href="https://apidoc.gitee.com/yadong.zhang/JustAuth/" title="API文档">
|
||||||
<img src="https://img.shields.io/badge/Api%20Docs-1.15.6-latest-orange" ></img>
|
<img src="https://img.shields.io/badge/Api%20Docs-1.15.7-latest-orange" ></img>
|
||||||
</a>
|
</a>
|
||||||
<a target="_blank" href="https://justauth.wiki" title="参考文档">
|
<a target="_blank" href="https://justauth.wiki" title="参考文档">
|
||||||
<img src="https://img.shields.io/badge/Docs-latest-blueviolet.svg" ></img>
|
<img src="https://img.shields.io/badge/Docs-latest-blueviolet.svg" ></img>
|
||||||
@@ -96,7 +96,7 @@ JustAuth,如你所见,它仅仅是一个**第三方授权登录**的**工具
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>me.zhyd.oauth</groupId>
|
<groupId>me.zhyd.oauth</groupId>
|
||||||
<artifactId>JustAuth</artifactId>
|
<artifactId>JustAuth</artifactId>
|
||||||
<version>1.15.6</version>
|
<version>1.15.7</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
- 调用api
|
- 调用api
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
1.15.6
|
1.15.7
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>me.zhyd.oauth</groupId>
|
<groupId>me.zhyd.oauth</groupId>
|
||||||
<artifactId>JustAuth</artifactId>
|
<artifactId>JustAuth</artifactId>
|
||||||
<version>1.15.6</version>
|
<version>1.15.7</version>
|
||||||
|
|
||||||
<name>JustAuth</name>
|
<name>JustAuth</name>
|
||||||
<url>https://gitee.com/yadong.zhang/JustAuth</url>
|
<url>https://gitee.com/yadong.zhang/JustAuth</url>
|
||||||
|
|||||||
@@ -84,12 +84,8 @@ public class AuthPinterestRequest extends AuthDefaultRequest {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String authorize(String state) {
|
public String authorize(String state) {
|
||||||
return UrlBuilder.fromBaseUrl(source.authorize())
|
return UrlBuilder.fromBaseUrl(super.authorize(state))
|
||||||
.queryParam("response_type", "code")
|
|
||||||
.queryParam("client_id", config.getClientId())
|
|
||||||
.queryParam("redirect_uri", config.getRedirectUri())
|
|
||||||
.queryParam("scope", this.getScopes(",", false, AuthPinterestScope.getDefaultScopes()))
|
.queryParam("scope", this.getScopes(",", false, AuthPinterestScope.getDefaultScopes()))
|
||||||
.queryParam("state", getRealState(state))
|
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user