diff --git a/frontend/ARchive/app/src/main/java/com/droidblossom/archive/data/dto/auth/response/TemporaryTokenResponseDto.kt b/frontend/ARchive/app/src/main/java/com/droidblossom/archive/data/dto/auth/response/TemporaryTokenResponseDto.kt new file mode 100644 index 000000000..278201b48 --- /dev/null +++ b/frontend/ARchive/app/src/main/java/com/droidblossom/archive/data/dto/auth/response/TemporaryTokenResponseDto.kt @@ -0,0 +1,13 @@ +package com.droidblossom.archive.data.dto.auth.response + +import com.droidblossom.archive.domain.model.auth.TemporaryToken + +data class TemporaryTokenResponseDto( + val expiresIn: String, + val temporaryAccessToken: String +) { + fun toModel() = TemporaryToken( + expiresIn = this.expiresIn, + temporaryAccessToken = this.temporaryAccessToken + ) +} \ No newline at end of file