From a4e306a965dd92c79a8f90297121b813915dcb19 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期五, 14 三月 2025 15:25:55 +0800 Subject: [PATCH] 增加OAUTH2 客户端模式授权 --- iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/auth/AdminAuthService.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/auth/AdminAuthService.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/auth/AdminAuthService.java index 6e8db15..6699da4 100644 --- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/auth/AdminAuthService.java +++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/auth/AdminAuthService.java @@ -24,6 +24,14 @@ AdminUserDO authenticate(String username, String password); /** + * 验证账号 + 密码。如果通过,则返回用户 + * + * @param username 账号 + * @return 用户 + */ + AdminUserDO getTenantUser(String username); + + /** * 账号登录 * * @param reqVO 登录信息 -- Gitblit v1.9.3