Chaos 2a94f493e6 feat(auth): implement custom user details and enhance JWT token payload
- Introduce CustomUserDetails to encapsulate user information and authorities
- Remove redundant UserProfileResponse from AuthTokenResponse
- Add userId, nickname, and avatar claims to JWT token generation
- Update UserDetailsServiceImpl to use CustomUserDetails
- Modify JwtTokenUtil to accept CustomUserDetails and include additional claims
- Add avatar field to User entity
- Update UserMapper to map avatar field in result mappings
- Add logging for successful and failed login attempts
2025-11-25 16:53:43 +08:00
Description
No description provided
334 KiB
Languages
Java 100%