From b433d8c9c44c64c952920318d6591e41108be9da Mon Sep 17 00:00:00 2001 From: Wo-ogie Date: Fri, 5 Apr 2024 07:37:57 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20kakao=20access=20token=20=EB=B0=9C?= =?UTF-8?q?=EA=B8=89=20=EC=9A=94=EC=B2=AD=EC=97=90=20=EB=8C=80=ED=95=9C=20?= =?UTF-8?q?response=20dto=EC=97=90=20=ED=95=84=EB=93=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/kakao/dto/response/KakaoTokenResponse.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/com/ajou/hertz/common/kakao/dto/response/KakaoTokenResponse.java b/src/main/java/com/ajou/hertz/common/kakao/dto/response/KakaoTokenResponse.java index 3040885..e844445 100644 --- a/src/main/java/com/ajou/hertz/common/kakao/dto/response/KakaoTokenResponse.java +++ b/src/main/java/com/ajou/hertz/common/kakao/dto/response/KakaoTokenResponse.java @@ -1,5 +1,7 @@ package com.ajou.hertz.common.kakao.dto.response; +import org.springframework.lang.Nullable; + import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AccessLevel; @@ -18,6 +20,10 @@ public class KakaoTokenResponse { @JsonProperty("access_token") private String accessToken; + @JsonProperty("id_token") + @Nullable + private String idToken; + @JsonProperty("expires_in") private Integer expiresIn; @@ -26,4 +32,7 @@ public class KakaoTokenResponse { @JsonProperty("refresh_token_expires_in") private Integer refreshTokenExpiresIn; + + @Nullable + private String scope; }