com.mle.play.auth

RememberMe

object RememberMe extends CookieBaker[UnAuthToken] with Log

Adapted from https://github.com/wsargent/play20-rememberme

Linear Supertypes
Log, CookieBaker[UnAuthToken], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RememberMe
  2. Log
  3. CookieBaker
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val COOKIE_NAME: String

    Definition Classes
    RememberMe → CookieBaker
  5. val SERIES_NAME: String

  6. val TOKEN_NAME: String

  7. val USER_ID_NAME: String

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def decode(data: String): Map[String, String]

    Definition Classes
    CookieBaker
  11. def decodeFromCookie(cookie: Option[Cookie]): UnAuthToken

    Definition Classes
    CookieBaker
  12. def deserialize(data: Map[String, String]): UnAuthToken

    The API says we must return a token, even if deserialization fails, so we introduce the concept of an "empty" token and filter it away in readToken(RequestHeader).

    The API says we must return a token, even if deserialization fails, so we introduce the concept of an "empty" token and filter it away in readToken(RequestHeader).

    data

    token data

    returns

    a token

    Attributes
    protected
    Definition Classes
    RememberMe → CookieBaker
  13. def discard: DiscardingCookie

    Definition Classes
    CookieBaker
  14. val discardingCookie: DiscardingCookie

  15. def domain: Option[String]

    Definition Classes
    CookieBaker
  16. val emptyCookie: UnAuthToken

    Definition Classes
    RememberMe → CookieBaker
  17. def encode(data: Map[String, String]): String

    Definition Classes
    CookieBaker
  18. def encodeAsCookie(data: UnAuthToken): Cookie

    Definition Classes
    CookieBaker
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def httpOnly: Boolean

    Definition Classes
    CookieBaker
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def isSigned: Boolean

    Definition Classes
    CookieBaker
  27. val log: Logger

    Attributes
    protected
    Definition Classes
    Log
  28. def maxAge: Option[Int]

    Definition Classes
    RememberMe → CookieBaker
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def path: String

    Definition Classes
    CookieBaker
  33. def readToken(req: RequestHeader): Option[UnAuthToken]

    req

    request

    returns

    the browser's possibly stored token

  34. def secure: Boolean

    Definition Classes
    CookieBaker
  35. def serialize(cookie: UnAuthToken): Map[String, String]

    Attributes
    protected
    Definition Classes
    RememberMe → CookieBaker
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Log

Inherited from CookieBaker[UnAuthToken]

Inherited from AnyRef

Inherited from Any

Ungrouped