Created
March 6, 2015 15:30
-
-
Save Otann/9ebcca734ae08d730434 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jp.t2v.lab.play2.auth | |
import scala.reflect.ClassTag | |
/** Enables authentication for separate entities */ | |
class CustomCacheIdContainer[Id: ClassTag](suffix: String) extends CacheIdContainer[Id] { | |
override private[auth] val tokenSuffix = s":$suffix:token" | |
override private[auth] val userIdSuffix = s":$suffix:userId" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment