Add HMS OAuth DTO's
This commit is contained in:
parent
185cb03568
commit
afc03aed87
|
|
@ -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,
|
||||
)
|
||||
|
|
@ -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,
|
||||
)
|
||||
Loading…
Reference in New Issue