-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor :
MemberController
개선 및 CookieExtractor
제거
- `CookieExtractor` 대신 `@CookieValue` 이용 - `CookieManager` 가 리프래쉬 토큰을 쿠키로 만드는 기능에서 적당한 값을 쿠키로 만드는 기능으로 바꿈
- Loading branch information
1 parent
aaeceea
commit 412bf03
Showing
12 changed files
with
51 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
src/main/java/com/debatetimer/controller/tool/cookie/CookieExtractor.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
src/main/java/com/debatetimer/dto/member/JwtTokenResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
package com.debatetimer.dto.member; | ||
|
||
public record JwtTokenResponse(String accessToken, String refreshToken) { | ||
import java.time.Duration; | ||
|
||
public record JwtTokenResponse(String accessToken, String refreshToken, Duration refreshExpiration) { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 0 additions & 49 deletions
49
src/test/java/com/debatetimer/controller/tool/cookie/CookieExtractorTest.java
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
src/test/java/com/debatetimer/fixture/CookieGenerator.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.