Skip to content

Commit

Permalink
Merge pull request #75 from Team-MindWay/74-tokenresponse-update
Browse files Browse the repository at this point in the history
🔀 :: tokenResponse 수정
  • Loading branch information
Umjiseung authored Apr 15, 2024
2 parents 390f5f7 + f9f8a23 commit 055d6d4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
@Builder
public class TokenResponse {

private String grantType;
private String accessToken;
private String refreshToken;
private LocalDateTime accessTokenExpiresIn;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public void init(){

public TokenResponse generateTokenDto(UUID id) {
return TokenResponse.builder()
.grantType(BEARER_PREFIX)
.accessToken(generateAccessToken(id))
.refreshToken(generateRefreshToken(id))
.accessTokenExpiresIn(LocalDateTime.now().plusSeconds(ACCESS_TOKEN_TIME))
Expand Down

0 comments on commit 055d6d4

Please sign in to comment.