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

im.actor.server.activation.common.ActivationProvider.scala Maven / Gradle / Ivy

The newest version!
package im.actor.server.activation.common

import cats.data.Xor

import scala.concurrent.Future

trait ActivationProvider {
  def send(txHash: String, code: Code): Future[CodeFailure Xor Unit]
  def validate(txHash: String, code: String): Future[ValidationResponse]
  def cleanup(txHash: String): Future[Unit]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy