Commit 5d504bd
committed
fix: 빌드 오류 수정 - API 인터페이스 호환성 개선
문제점:
- 세션 검증에서 존재하지 않는 SessionInfo 프로퍼티 사용
- JwtProvider 생성자 변경으로 테스트 코드 오류
- WebSocketMessageType.Pong 미지원
- AuthResult.User null 허용 불가
수정사항:
- SessionInfo 실제 구조에 맞춰 세션 검증 로직 단순화
- JwtProviderTests에 Mock ILogger 추가
- WebSocket Pong → Binary 메시지 처리로 변경
- AuthResult.User를 nullable로 변경
- 기존 ErrorCode.SESSION_EXPIRED 사용1 parent 1ad19fa commit 5d504bd
File tree
4 files changed
+14
-13
lines changed- ProjectVG.Api/Middleware
- ProjectVG.Application/Services
- Auth
- Chat/Validators
- ProjectVG.Tests/Auth
4 files changed
+14
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 85 | + | |
| 86 | + | |
90 | 87 | | |
91 | 88 | | |
92 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
0 commit comments