Skip to content

Commit

Permalink
Issue #208 feat: 재로그인에 필요한 모델 정의
Browse files Browse the repository at this point in the history
  • Loading branch information
Max committed Dec 15, 2022
1 parent da4c044 commit f3c47da
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ data class User(
val displayName: String,
val photoUrl: String,
val idToken: String,
val refreshToken: String
val oauthIdToken: String
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.lateinit.rightweight.data.model.remote

data class DeleteAccountResponse(val kind: String)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.lateinit.rightweight.data.model.remote

import com.google.gson.annotations.SerializedName

data class RefreshTokenResponse(
@SerializedName("refresh_token")
val refreshToken: String,
@SerializedName("id_token")
val idToken: String
)

0 comments on commit f3c47da

Please sign in to comment.