Commit ef45579
committed
refactor(auth): 인증 흐름 내 중복 예외 제거 및 책임 분리
- AuthController, LoginMemberArgumentResolver에서 중복된 token null/blank 체크 제거
- CookieUtil은 쿠키 추출만 담당, JwtTokenProvider는 JWT 파싱과 검증만 담당
- AuthService는 사용자 DB 조회만 수행
TODO: JwtTokenProvider 내부로 토큰 유효성 검증 책임 이관 예정(null, 만료, 서명 오류 등) ++enum으로 errorcode관리 예정1 parent fcad67e commit ef45579
File tree
2 files changed
+0
-7
lines changed- src/main/java/com/yourssu/roomescape/auth
2 files changed
+0
-7
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 41 | | |
47 | 42 | | |
48 | 43 | | |
| |||
0 commit comments