forked from kookmin-sw/cap-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: 액세스토큰 클레임에 identifier 넣음으로써 리프레시토큰과 구분
- Loading branch information
1 parent
19734f8
commit 67716d8
Showing
6 changed files
with
46 additions
and
40 deletions.
There are no files selected for viewing
35 changes: 0 additions & 35 deletions
35
src/main/java/capstone/facefriend/auth/domain/Provider.java
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
src/main/java/capstone/facefriend/auth/domain/token/AccessToken.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package capstone.facefriend.auth.domain.token; | ||
|
||
public record AccessToken(String value) { | ||
public static AccessToken from(String value) { | ||
return new AccessToken(value); | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/capstone/facefriend/auth/domain/token/RefreshToken.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package capstone.facefriend.auth.domain.token; | ||
|
||
public record RefreshToken(String value) { | ||
public static RefreshToken from(String value) { | ||
return new RefreshToken(value); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...facefriend/auth/domain/TokenProvider.java → ...iend/auth/domain/token/TokenProvider.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
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