⬆️ 升级 JustAuth 版本:1.15.9,新增飞书、京东、阿里云、喜马拉雅、企业微信网页端登录
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
## 版本更新记录
|
## 版本更新记录
|
||||||
|
|
||||||
|
### 【1.3.5】2021-01-04
|
||||||
|
|
||||||
|
- 升级 `JustAuth` 版本:1.15.9,新增飞书、京东、阿里云、喜马拉雅、企业微信网页端登录
|
||||||
|
|
||||||
### 【1.3.4】2020-09-12
|
### 【1.3.4】2020-09-12
|
||||||
|
|
||||||
- 升级 `JustAuth` 版本:1.15.7,更新最新的 GitHub API
|
- 升级 `JustAuth` 版本:1.15.7,更新最新的 GitHub API
|
||||||
|
|||||||
18
README.md
18
README.md
@@ -172,6 +172,24 @@ justauth:
|
|||||||
client-id: 10**********6
|
client-id: 10**********6
|
||||||
client-secret: 1f7d08**********5b7**********29e
|
client-secret: 1f7d08**********5b7**********29e
|
||||||
redirect-uri: http://oauth.xkcoding.com/demo/oauth/twitter/callback
|
redirect-uri: http://oauth.xkcoding.com/demo/oauth/twitter/callback
|
||||||
|
XMLY:
|
||||||
|
client-id: 10**********6
|
||||||
|
client-secret: 1f7d08**********5b7**********29e
|
||||||
|
redirect-uri: http://oauth.xkcoding.com/demo/oauth/xmly/callback
|
||||||
|
# 设备唯一标识ID
|
||||||
|
device-id: xxxxxxxxxxxxxx
|
||||||
|
# 客户端操作系统类型,1-iOS系统,2-Android系统,3-Web
|
||||||
|
client-os-type: 3
|
||||||
|
# 客户端包名,如果 clientOsType 为1或2时必填。对Android客户端是包名,对IOS客户端是Bundle ID
|
||||||
|
#pack-id: xxxx
|
||||||
|
FEISHU:
|
||||||
|
client-id: 10**********6
|
||||||
|
client-secret: 1f7d08**********5b7**********29e
|
||||||
|
redirect-uri: http://oauth.xkcoding.com/demo/oauth/feishu/callback
|
||||||
|
JD:
|
||||||
|
client-id: 10**********6
|
||||||
|
client-secret: 1f7d08**********5b7**********29e
|
||||||
|
redirect-uri: http://oauth.xkcoding.com/demo/oauth/jd/callback
|
||||||
cache:
|
cache:
|
||||||
type: default
|
type: default
|
||||||
```
|
```
|
||||||
|
|||||||
4
pom.xml
4
pom.xml
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<groupId>com.xkcoding.justauth</groupId>
|
<groupId>com.xkcoding.justauth</groupId>
|
||||||
<artifactId>justauth-spring-boot-starter</artifactId>
|
<artifactId>justauth-spring-boot-starter</artifactId>
|
||||||
<version>1.3.4</version>
|
<version>1.3.5</version>
|
||||||
|
|
||||||
<name>justauth-spring-boot-starter</name>
|
<name>justauth-spring-boot-starter</name>
|
||||||
<url>https://github.com/xkcoding/justauth-spring-boot-starter</url>
|
<url>https://github.com/xkcoding/justauth-spring-boot-starter</url>
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
<!--SpringBoot版本-->
|
<!--SpringBoot版本-->
|
||||||
<spring-boot.version>2.1.8.RELEASE</spring-boot.version>
|
<spring-boot.version>2.1.8.RELEASE</spring-boot.version>
|
||||||
<!--JustAuth版本-->
|
<!--JustAuth版本-->
|
||||||
<justauth.version>1.15.7</justauth.version>
|
<justauth.version>1.15.9</justauth.version>
|
||||||
<hutool.version>5.4.0</hutool.version>
|
<hutool.version>5.4.0</hutool.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|||||||
@@ -203,7 +203,9 @@ public class AuthRequestFactory {
|
|||||||
case WECHAT_OPEN:
|
case WECHAT_OPEN:
|
||||||
return new AuthWeChatOpenRequest(config, authStateCache);
|
return new AuthWeChatOpenRequest(config, authStateCache);
|
||||||
case WECHAT_ENTERPRISE:
|
case WECHAT_ENTERPRISE:
|
||||||
return new AuthWeChatEnterpriseRequest(config, authStateCache);
|
return new AuthWeChatEnterpriseQrcodeRequest(config, authStateCache);
|
||||||
|
case WECHAT_ENTERPRISE_WEB:
|
||||||
|
return new AuthWeChatEnterpriseWebRequest(config, authStateCache);
|
||||||
case TAOBAO:
|
case TAOBAO:
|
||||||
return new AuthTaobaoRequest(config, authStateCache);
|
return new AuthTaobaoRequest(config, authStateCache);
|
||||||
case GOOGLE:
|
case GOOGLE:
|
||||||
@@ -240,6 +242,14 @@ public class AuthRequestFactory {
|
|||||||
return new AuthMeituanRequest(config, authStateCache);
|
return new AuthMeituanRequest(config, authStateCache);
|
||||||
case TWITTER:
|
case TWITTER:
|
||||||
return new AuthTwitterRequest(config, authStateCache);
|
return new AuthTwitterRequest(config, authStateCache);
|
||||||
|
case FEISHU:
|
||||||
|
return new AuthFeishuRequest(config, authStateCache);
|
||||||
|
case JD:
|
||||||
|
return new AuthJdRequest(config, authStateCache);
|
||||||
|
case ALIYUN:
|
||||||
|
return new AuthAliyunRequest(config, authStateCache);
|
||||||
|
case XMLY:
|
||||||
|
return new AuthXmlyRequest(config, authStateCache);
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user