Skip to content

Commit

Permalink
[#2]✨Feat: OAuth2Response 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
sumin220 committed Nov 19, 2024
1 parent 39941e2 commit 44b5586
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/main/java/univ/yesummit/global/oauth/dto/OAuth2Response.java
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();
}

0 comments on commit 44b5586

Please sign in to comment.