Trait/Object

com.softwaremill.session

RememberMeDirectives

Related Docs: object RememberMeDirectives | package session

Permalink

trait RememberMeDirectives extends AnyRef

Contains directives analogous to the ones from ClientSessionDirectives, but in a *persistent* variant. A persistent session consists of a regular, session-cookie-based session and a cookie containing a remember-me token.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RememberMeDirectives
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def invalidatePersistentSession[T](magnet: RememberMeStorageMagnet[T, Unit]): Directive0

    Permalink

    Same as ClientSessionDirectives.invalidateSession), but also removes the remember me cookie and the remember me token (from the client and token store).

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def optionalPersistentSession[T](magnet: RememberMeStorageMagnet[T, Unit]): Directive1[Option[T]]

    Permalink

    Same as ClientSessionDirectives.optionalSession, but also tries to create a new session based on the remember me cookie, if no session is present.

  17. def persistentSession[T](magnet: RememberMeStorageMagnet[T, Unit]): Directive1[SessionResult[T]]

    Permalink

    Same as ClientSessionDirectives.session, but also tries to create a new session based on the remember me cookie, if no session is present.

    Same as ClientSessionDirectives.session, but also tries to create a new session based on the remember me cookie, if no session is present. Results are wrapped in a SessionResult describing the possible success/failure outcomes.

  18. def requiredPersistentSession[T](magnet: RememberMeStorageMagnet[T, Unit]): Directive1[T]

    Permalink

    Same as ClientSessionDirectives.requiredSession, but also tries to create a new session based on the remember me cookie, if no session is present.

  19. def setPersistentSession[T](magnet: RememberMeStorageMagnet[T, T]): Directive0

    Permalink

    Same as ClientSessionDirectives.setSession, plus also generates a new remember me token (removing old ones) and stores it in the remember me cookie.

  20. def setRememberMeCookie[T](magnet: RememberMeStorageMagnet[T, T]): Directive0

    Permalink
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def touchOptionalPersistentSession[T](magnet: RememberMeStorageMagnet[T, Unit]): Directive1[Option[T]]

    Permalink

    Same as ClientSessionDirectives.touchOptionalSession; if the user session is already present, keeps the same remember me token if one is present.

  24. def touchRequiredPersistentSession[T](magnet: RememberMeStorageMagnet[T, Unit]): Directive1[T]

    Permalink

    Same as ClientSessionDirectives.touchRequiredSession; if the user session is already present, keeps the same remember me token if one is present.

  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped