All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.malliina.push.adm.AccessToken.scala Maven / Gradle / Ivy

There is a newer version: 1.24.4
Show newest version
package com.malliina.push.adm

import com.malliina.json.PrimitiveFormats
import play.api.libs.json.Json

import scala.concurrent.duration.Duration

case class AccessToken(
  access_token: String,
  expires_in: Duration,
  scope: String,
  token_type: String
)

object AccessToken {
  implicit val durationFormat = PrimitiveFormats.durationFormat
  implicit val json = Json.format[AccessToken]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy