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

im.actor.server.activation.CodeActivation.scala Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package im.actor.server.activation

import im.actor.server.activation.Activation.Code
import slick.dbio.DBIO

import scalaz.\/

trait CodeActivation {
  def send(optTransactionHash: Option[String], code: Code): DBIO[CodeFailure \/ Unit]
  def validate(transactionHash: String, code: String): DBIO[ValidationResponse]
  def finish(transactionHash: String): DBIO[Unit]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy