1
0
mirror of synced 2025-11-06 04:21:05 +08:00

7 Commits

Author SHA1 Message Date
yadong.zhang
8f007ca121 Merge pull request #21 from justauth/dependabot/maven/cn.hutool-hutool-core-5.8.19
⬆️ Bump hutool-core from 5.6.5 to 5.8.19
2024-12-14 19:18:11 +08:00
yadong.zhang
fb8a8b2132 Merge branch 'master' into dependabot/maven/cn.hutool-hutool-core-5.8.19 2024-12-14 19:18:01 +08:00
yadong.zhang
b39f515ecd Merge pull request #24 from zzzgr/master
⬆️springboot3支持
2024-12-14 19:16:52 +08:00
yadong.zhang
b043116d3c Merge pull request #26 from luoqiz/feat-update-justauth
feat: 升级justauth 1.16.7
2024-12-14 19:16:22 +08:00
luoqiz
500a79b3e6 feat: 升级justauth 1.16.7 2024-12-14 18:57:45 +08:00
yiidii
41e7b958a0 ⬆️springboot3支持 2024-04-16 10:29:10 +08:00
dependabot[bot]
c1dc04d4ef ⬆️ Bump hutool-core from 5.6.5 to 5.8.19
Bumps [hutool-core](https://github.com/dromara/hutool) from 5.6.5 to 5.8.19.
- [Release notes](https://github.com/dromara/hutool/releases)
- [Changelog](https://github.com/dromara/hutool/blob/v5-master/CHANGELOG.md)
- [Commits](https://github.com/dromara/hutool/compare/5.6.5...5.8.19)

---
updated-dependencies:
- dependency-name: cn.hutool:hutool-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 16:39:36 +00:00
4 changed files with 128 additions and 20 deletions

View File

@@ -23,7 +23,7 @@
<groupId>com.xkcoding.justauth</groupId>
<artifactId>justauth-spring-boot-starter</artifactId>
<version>1.4.0</version>
<version>1.4.1-SNAPSHOT</version>
<name>justauth-spring-boot-starter</name>
<url>https://github.com/xkcoding/justauth-spring-boot-starter</url>
@@ -72,8 +72,8 @@
<!--SpringBoot版本-->
<spring-boot.version>2.1.8.RELEASE</spring-boot.version>
<!--JustAuth版本-->
<justauth.version>1.16.1</justauth.version>
<hutool.version>5.6.5</hutool.version>
<justauth.version>1.16.7</justauth.version>
<hutool.version>5.8.19</hutool.version>
</properties>
<dependencies>

View File

@@ -186,6 +186,8 @@ public class AuthRequestFactory {
return new AuthGiteeRequest(config, authStateCache);
case DINGTALK:
return new AuthDingTalkRequest(config, authStateCache);
case DINGTALK_V2:
return new AuthDingTalkV2Request(config, authStateCache);
case DINGTALK_ACCOUNT:
return new AuthDingTalkAccountRequest(config, authStateCache);
case BAIDU:
@@ -204,10 +206,6 @@ public class AuthRequestFactory {
return new AuthWeChatOpenRequest(config, authStateCache);
case WECHAT_MP:
return new AuthWeChatMpRequest(config, authStateCache);
case WECHAT_ENTERPRISE:
return new AuthWeChatEnterpriseQrcodeRequest(config, authStateCache);
case WECHAT_ENTERPRISE_WEB:
return new AuthWeChatEnterpriseWebRequest(config, authStateCache);
case TAOBAO:
return new AuthTaobaoRequest(config, authStateCache);
case GOOGLE:
@@ -220,6 +218,9 @@ public class AuthRequestFactory {
return new AuthLinkedinRequest(config, authStateCache);
case MICROSOFT:
return new AuthMicrosoftRequest(config, authStateCache);
case MICROSOFT_CN:
return new AuthMicrosoftCnRequest(config, authStateCache);
case MI:
return new AuthMiRequest(config, authStateCache);
case TOUTIAO:
@@ -234,15 +235,25 @@ public class AuthRequestFactory {
return new AuthStackOverflowRequest(config, authStateCache);
case HUAWEI:
return new AuthHuaweiRequest(config, authStateCache);
case GITLAB:
return new AuthGitlabRequest(config, authStateCache);
case HUAWEI_V3:
return new AuthHuaweiV3Request(config, authStateCache);
case WECHAT_ENTERPRISE:
return new AuthWeChatEnterpriseQrcodeRequest(config, authStateCache);
case WECHAT_ENTERPRISE_V2:
return new AuthWeChatEnterpriseQrcodeV2Request(config, authStateCache);
case WECHAT_ENTERPRISE_QRCODE_THIRD:
return new AuthWeChatEnterpriseThirdQrcodeRequest(config, authStateCache);
case WECHAT_ENTERPRISE_WEB:
return new AuthWeChatEnterpriseWebRequest(config, authStateCache);
case KUJIALE:
return new AuthKujialeRequest(config, authStateCache);
case ELEME:
return new AuthElemeRequest(config, authStateCache);
case GITLAB:
return new AuthGitlabRequest(config, authStateCache);
case MEITUAN:
return new AuthMeituanRequest(config, authStateCache);
case TWITTER:
case ELEME:
return new AuthElemeRequest(config, authStateCache);
case TWITTER:
return new AuthTwitterRequest(config, authStateCache);
case FEISHU:
return new AuthFeishuRequest(config, authStateCache);
@@ -260,6 +271,22 @@ public class AuthRequestFactory {
return new AuthLineRequest(config, authStateCache);
case OKTA:
return new AuthOktaRequest(config, authStateCache);
case PROGINN:
return new AuthProginnRequest(config,authStateCache);
case AFDIAN:
return new AuthAfDianRequest(config,authStateCache);
case APPLE:
return new AuthAppleRequest(config,authStateCache);
case FIGMA:
return new AuthFigmaRequest(config,authStateCache);
case WECHAT_MINI_PROGRAM:
config.setIgnoreCheckRedirectUri(true);
config.setIgnoreCheckState(true);
return new AuthWechatMiniProgramRequest(config, authStateCache);
case QQ_MINI_PROGRAM:
config.setIgnoreCheckRedirectUri(true);
config.setIgnoreCheckState(true);
return new AuthQQMiniProgramRequest(config, authStateCache);
default:
return null;
}

View File

@@ -19,6 +19,14 @@
"value": "DINGTALK",
"description": "DINGTALK."
},
{
"value": "DINGTALK_V2",
"description": "DINGTALK_V2."
},
{
"value": "DINGTALK_ACCOUNT",
"description": "DINGTALK_ACCOUNT."
},
{
"value": "BAIDU",
"description": "BAIDU."
@@ -43,6 +51,14 @@
"value": "QQ",
"description": "QQ."
},
{
"value": "WECHAT_OPEN",
"description": "WeChat open platform."
},
{
"value": "WECHAT_MP",
"description": "WeChat Official Platform."
},
{
"value": "TAOBAO",
"description": "TAOBAO."
@@ -67,6 +83,10 @@
"value": "MICROSOFT",
"description": "MICROSOFT."
},
{
"value": "MICROSOFT_CN",
"description": "MICROSOFT_CN."
},
{
"value": "MI",
"description": "MI."
@@ -96,16 +116,24 @@
"description": "HUAWEI."
},
{
"value": "WECHAT_OPEN",
"description": "WeChat open platform."
"value": "HUAWEI_V3",
"description": "HUAWEI_V3."
},
{
"value": "WECHAT_ENTERPRISE",
"description": "WeChat enterprise platform."
},
{
"value": "WECHAT_MP",
"description": "WeChat Official Platform."
"value": "WECHAT_ENTERPRISE_V2",
"description": "WeChat enterprise platform v2."
},
{
"value": "WECHAT_ENTERPRISE_QRCODE_THIRD",
"description": "WeChat enterprise qrcode third."
},
{
"value": "WECHAT_ENTERPRISE_WEB",
"description": "WeChat enterprise web."
},
{
"value": "KUJIALE",
@@ -123,17 +151,69 @@
"value": "ELEME",
"description": "ELEME."
},
{
"value": "GITLAB",
"description": "GITLAB."
},
{
"value": "TWITTER",
"description": "TWITTER."
},
{
"value": "FEISHU",
"description": "FEISHU."
},
{
"value": "GITLAB",
"description": "GITLAB."
},
{
"value": "JD",
"description": "JD."
},
{
"value": "ALIYUN",
"description": "ALIYUN."
},
{
"value": "XMLY",
"description": "XMLY."
},
{
"value": "AMAZON",
"description": "AMAZON."
},
{
"value": "SLACK",
"description": "SLACK."
},
{
"value": "LINE",
"description": "LINE."
},
{
"value": "OKTA",
"description": "OKTA."
},
{
"value": "PROGINN",
"description": "PROGINN."
},
{
"value": "AFDIAN",
"description": "AFDIAN."
},
{
"value": "APPLE",
"description": "APPLE."
},
{
"value": "FIGMA",
"description": "FIGMA."
},
{
"value": "WECHAT_MINI_PROGRAM",
"description": "WECHAT_MINI_PROGRAM."
},
{
"value": "QQ_MINI_PROGRAM",
"description": "QQ_MINI_PROGRAM."
}
]
},

View File

@@ -0,0 +1 @@
com.xkcoding.justauth.autoconfigure.JustAuthAutoConfiguration