From 9682b5b6930f3e765026e06506a47f3aa7b61100 Mon Sep 17 00:00:00 2001
From: Taras Smakula <tarassmakula@gmail.com>
Date: Fri, 17 Nov 2023 16:17:04 +0200
Subject: [PATCH] Create RefreshTokenParams

---
 .../sdk/internal/auth/login/RefreshTokenParams.kt   | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/login/RefreshTokenParams.kt

diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/login/RefreshTokenParams.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/login/RefreshTokenParams.kt
new file mode 100644
index 00000000..c82eed7e
--- /dev/null
+++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/login/RefreshTokenParams.kt
@@ -0,0 +1,13 @@
+package org.matrix.android.sdk.internal.auth.login
+
+import com.squareup.moshi.Json
+import com.squareup.moshi.JsonClass
+
+/**
+ * Created for Circles /refresh
+ */
+@JsonClass(generateAdapter = true)
+data class RefreshTokenParams(
+        @Json(name = "refresh_token")
+        val refreshToken: String
+)
-- 
GitLab