Skip to content

Commit

Permalink
refactor: kakao access token 발급 요청에 대한 response dto에 필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Wo-ogie committed Apr 4, 2024
1 parent f9f78db commit b433d8c
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;

Expand All @@ -26,4 +32,7 @@ public class KakaoTokenResponse {

@JsonProperty("refresh_token_expires_in")
private Integer refreshTokenExpiresIn;

@Nullable
private String scope;
}

0 comments on commit b433d8c

Please sign in to comment.