diff --git a/youlai-auth/src/main/java/com/youlai/auth/oauth2/config/AuthorizationServerConfig.java b/youlai-auth/src/main/java/com/youlai/auth/config/AuthorizationServerConfig.java similarity index 99% rename from youlai-auth/src/main/java/com/youlai/auth/oauth2/config/AuthorizationServerConfig.java rename to youlai-auth/src/main/java/com/youlai/auth/config/AuthorizationServerConfig.java index 7a4d047e3..525163cea 100644 --- a/youlai-auth/src/main/java/com/youlai/auth/oauth2/config/AuthorizationServerConfig.java +++ b/youlai-auth/src/main/java/com/youlai/auth/config/AuthorizationServerConfig.java @@ -1,5 +1,5 @@ -package com.youlai.auth.oauth2.config; +package com.youlai.auth.config; import cn.binarywang.wx.miniapp.api.WxMaService; import cn.hutool.captcha.generator.CodeGenerator; diff --git a/youlai-auth/src/main/java/com/youlai/auth/oauth2/token/JwtTokenConfig.java b/youlai-auth/src/main/java/com/youlai/auth/config/JwtTokenCustomizerConfig.java similarity index 91% rename from youlai-auth/src/main/java/com/youlai/auth/oauth2/token/JwtTokenConfig.java rename to youlai-auth/src/main/java/com/youlai/auth/config/JwtTokenCustomizerConfig.java index 3d4b32d24..cb6553264 100644 --- a/youlai-auth/src/main/java/com/youlai/auth/oauth2/token/JwtTokenConfig.java +++ b/youlai-auth/src/main/java/com/youlai/auth/config/JwtTokenCustomizerConfig.java @@ -1,4 +1,4 @@ -package com.youlai.auth.oauth2.token; +package com.youlai.auth.config; import com.youlai.auth.model.MemberDetails; import com.youlai.auth.model.SysUserDetails; @@ -20,14 +20,14 @@ import java.util.stream.Collectors; * JWT 自定义字段配置 * * @author haoxr - * @see How-to: Authorize an access token containing custom authorities - * @since 3.0.0 +* @since 3.0.0 */ @Configuration -public class JwtTokenConfig { +public class JwtTokenCustomizerConfig { /** * JWT 自定义字段 + * @see Add custom claims to JWT access tokens */ @Bean public OAuth2TokenCustomizer jwtTokenCustomizer() {