Skip to content

Commit

Permalink
refactor: JwtService 코드 재정렬 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
choidongkuen committed Jan 13, 2024
1 parent 5e9989f commit d05cb0c
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public TokenResponse createServiceToken(User users) {
this.jwtProperty.getRefresh().getExpiration());

return new TokenResponse(jwtProperty.getBearer() + " " + accessToken, refreshToken);

}

public String createAccessToken(String payload) {
Expand All @@ -70,7 +69,6 @@ public String createAccessToken(String payload) {

public String createRefreshToken() {
return this.createToken(UUID.randomUUID().toString(), jwtProperty.getRefresh().getExpiration());

}

private String createToken(String payload, Long tokenExpiration) {
Expand Down

0 comments on commit d05cb0c

Please sign in to comment.