Skip to content

Commit

Permalink
feat : TemporaryToken (dto)
Browse files Browse the repository at this point in the history
  • Loading branch information
hangunhee39 committed Jan 18, 2024
1 parent b8af354 commit ae61693
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
)
}

0 comments on commit ae61693

Please sign in to comment.