Add HMS OAuth DTO's

This commit is contained in:
Korna 2022-11-07 18:06:58 +03:00
parent 185cb03568
commit afc03aed87
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,7 @@
package ru.touchin.push.message.provider.hpk.clients.hms_oauth.response
internal class HmsOauthErrorResponse(
val error: Int,
val subError: Int,
val errorDescription: String,
)

View File

@ -0,0 +1,8 @@
package ru.touchin.push.message.provider.hpk.clients.hms_oauth.response
internal class HmsOauthTokenResponse(
val tokenType: String,
val accessToken: String,
/** Expiration in seconds. */
val expiresIn: Long,
)