com.mohiva.play.silhouette.contrib.services

CachedCookieAuthenticator

case class CachedCookieAuthenticator(id: String, loginInfo: LoginInfo, lastUsedDate: DateTime, expirationDate: DateTime, cookieIdleTimeout: Int) extends Authenticator with Product with Serializable

An authenticator tracks an authenticated user.

id

The authenticator ID.

loginInfo

The user ID.

lastUsedDate

The last used timestamp.

expirationDate

The expiration time.

cookieIdleTimeout

The time in seconds a cookie can be idle before it timed out.

Linear Supertypes
Serializable, Serializable, Product, Equals, Authenticator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CachedCookieAuthenticator
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Authenticator
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CachedCookieAuthenticator(id: String, loginInfo: LoginInfo, lastUsedDate: DateTime, expirationDate: DateTime, cookieIdleTimeout: Int)

    id

    The authenticator ID.

    loginInfo

    The user ID.

    lastUsedDate

    The last used timestamp.

    expirationDate

    The expiration time.

    cookieIdleTimeout

    The time in seconds a cookie can be idle before it timed out.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val cookieIdleTimeout: Int

    The time in seconds a cookie can be idle before it timed out.

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. val expirationDate: DateTime

    The expiration time.

  11. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  13. val id: String

    The authenticator ID.

  14. def isExpired: Boolean

    Checks if the authenticator has expired.

    Checks if the authenticator has expired. This is an absolute timeout since the creation of the authenticator.

    returns

    True if the authenticator has expired, false otherwise.

  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def isTimedOut: Boolean

    Checks if the time elapsed since the last time the authenticator was used is longer than the maximum idle timeout specified in the properties.

    Checks if the time elapsed since the last time the authenticator was used is longer than the maximum idle timeout specified in the properties.

    returns

    True if the authenticator timed out, false otherwise.

  17. def isValid: Boolean

    Checks if the authenticator isn't expired and isn't timed out.

    Checks if the authenticator isn't expired and isn't timed out.

    returns

    True if the authenticator isn't expired and isn't timed out.

  18. val lastUsedDate: DateTime

    The last used timestamp.

  19. val loginInfo: LoginInfo

    The user ID.

    The user ID.

    Definition Classes
    CachedCookieAuthenticatorAuthenticator
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Authenticator

Inherited from AnyRef

Inherited from Any

Ungrouped