-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
src/main/java/univ/yesummit/global/oauth/dto/OAuth2Response.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,19 @@ | ||
package univ.yesummit.global.oauth.dto; | ||
|
||
import univ.yesummit.domain.member.entity.Member; | ||
|
||
public interface OAuth2Response { | ||
|
||
// 제공자 (naver, google, kakao 등) | ||
String getProvider(); | ||
|
||
// 제공자에서 발급해주는 아이디 | ||
String getProviderId(); | ||
|
||
// 사용자 정보 | ||
String getEmail(); | ||
|
||
String getName(); | ||
|
||
Member toEntity(); | ||
} |