You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
477 B

package controllers.common
import com.alexitc.playsonify.AbstractAuthenticatorService
import com.alexitc.playsonify.core.FutureApplicationResult
import org.scalactic.Good
import play.api.libs.json.JsValue
import play.api.mvc.Request
import scala.concurrent.Future
class MyAuthenticatorService extends AbstractAuthenticatorService[Nothing] {
override def authenticate(request: Request[JsValue]): FutureApplicationResult[Nothing] = {
Future.successful(Good(???))
}
}