diff --git a/CHANGELOG.md b/CHANGELOG.md index 97ce078..2c2b36b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## 版本更新记录 +### 【1.3.5】2021-01-04 + +- 升级 `JustAuth` 版本:1.15.9,新增飞书、京东、阿里云、喜马拉雅、企业微信网页端登录 + ### 【1.3.4】2020-09-12 - 升级 `JustAuth` 版本:1.15.7,更新最新的 GitHub API diff --git a/README.md b/README.md index 98ba3bb..c2d0b5b 100644 --- a/README.md +++ b/README.md @@ -172,6 +172,24 @@ justauth: client-id: 10**********6 client-secret: 1f7d08**********5b7**********29e 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: type: default ``` diff --git a/pom.xml b/pom.xml index c999f21..5069436 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ com.xkcoding.justauth justauth-spring-boot-starter - 1.3.4 + 1.3.5 justauth-spring-boot-starter https://github.com/xkcoding/justauth-spring-boot-starter @@ -72,7 +72,7 @@ 2.1.8.RELEASE - 1.15.7 + 1.15.9 5.4.0 diff --git a/src/main/java/com/xkcoding/justauth/AuthRequestFactory.java b/src/main/java/com/xkcoding/justauth/AuthRequestFactory.java index 7f3a068..e133d4b 100644 --- a/src/main/java/com/xkcoding/justauth/AuthRequestFactory.java +++ b/src/main/java/com/xkcoding/justauth/AuthRequestFactory.java @@ -203,7 +203,9 @@ public class AuthRequestFactory { case WECHAT_OPEN: return new AuthWeChatOpenRequest(config, authStateCache); case WECHAT_ENTERPRISE: - return new AuthWeChatEnterpriseRequest(config, authStateCache); + return new AuthWeChatEnterpriseQrcodeRequest(config, authStateCache); + case WECHAT_ENTERPRISE_WEB: + return new AuthWeChatEnterpriseWebRequest(config, authStateCache); case TAOBAO: return new AuthTaobaoRequest(config, authStateCache); case GOOGLE: @@ -240,6 +242,14 @@ public class AuthRequestFactory { return new AuthMeituanRequest(config, authStateCache); case TWITTER: 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: return null; }