-
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.
[fix] #40 네이버 access token 회원가입 로직 수정
- Loading branch information
1 parent
bf4675c
commit 280e72f
Showing
2 changed files
with
11 additions
and
15 deletions.
There are no files selected for viewing
11 changes: 9 additions & 2 deletions
11
src/main/java/com/kusithm/hdmedi_server/domain/user/auth/naver/NaverAccessTokenInfo.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,11 +1,18 @@ | ||
package com.kusithm.hdmedi_server.domain.user.auth.naver; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
@Builder | ||
@Getter | ||
public class NaverAccessTokenInfo { | ||
private Long id; | ||
private String accessToken; | ||
|
||
public static NaverAccessTokenInfo of(String accessToken){ | ||
return NaverAccessTokenInfo.builder() | ||
.accessToken(accessToken) | ||
.build(); | ||
} | ||
} |
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