diff --git a/android/app/src/main/java/by/eapp/musicroom/data/AccessTokenInterceptor.kt b/android/app/src/main/java/by/eapp/musicroom/data/login/AccessTokenInterceptor.kt similarity index 96% rename from android/app/src/main/java/by/eapp/musicroom/data/AccessTokenInterceptor.kt rename to android/app/src/main/java/by/eapp/musicroom/data/login/AccessTokenInterceptor.kt index 9599529..4ab4461 100644 --- a/android/app/src/main/java/by/eapp/musicroom/data/AccessTokenInterceptor.kt +++ b/android/app/src/main/java/by/eapp/musicroom/data/login/AccessTokenInterceptor.kt @@ -1,4 +1,4 @@ -package by.eapp.musicroom.data +package by.eapp.musicroom.data.login import by.eapp.musicroom.domain.repo.login.JwtTokenManager import kotlinx.coroutines.CoroutineDispatcher diff --git a/android/app/src/main/java/by/eapp/musicroom/data/RefreshTokenInterceptor.kt b/android/app/src/main/java/by/eapp/musicroom/data/login/RefreshTokenInterceptor.kt similarity index 95% rename from android/app/src/main/java/by/eapp/musicroom/data/RefreshTokenInterceptor.kt rename to android/app/src/main/java/by/eapp/musicroom/data/login/RefreshTokenInterceptor.kt index 5666e57..1b0ea06 100644 --- a/android/app/src/main/java/by/eapp/musicroom/data/RefreshTokenInterceptor.kt +++ b/android/app/src/main/java/by/eapp/musicroom/data/login/RefreshTokenInterceptor.kt @@ -1,4 +1,4 @@ -package by.eapp.musicroom.data +package by.eapp.musicroom.data.login import by.eapp.musicroom.domain.repo.login.JwtTokenManager import kotlinx.coroutines.CoroutineDispatcher diff --git a/android/app/src/main/java/by/eapp/musicroom/domain/model/RefreshToken.kt b/android/app/src/main/java/by/eapp/musicroom/domain/model/RefreshToken.kt new file mode 100644 index 0000000..91f0040 --- /dev/null +++ b/android/app/src/main/java/by/eapp/musicroom/domain/model/RefreshToken.kt @@ -0,0 +1,5 @@ +package by.eapp.musicroom.domain.model + +data class RefreshToken( + val token: String, +)