object SessionDirectives extends SessionDirectives

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SessionDirectives
  2. SessionDirectives
  3. RefreshableSessionDirectives
  4. OneOffSessionDirectives
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def invalidateSession[T](sc: SessionContinuity[T], st: GetSessionTransport): Directive0

    Invalidate the session cookie.

    Invalidate the session cookie.

    If refreshable, also removes the refresh token cookie and the refresh token token (from the client and token store), if present.

    Note that you should use refreshable if you use refreshable systems even only for some users.

    Definition Classes
    SessionDirectives
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def optionalSession[T](sc: SessionContinuity[T], st: GetSessionTransport): Directive1[Option[T]]

    Read an optional session from the session cookie.

    Read an optional session from the session cookie.

    Definition Classes
    SessionDirectives
  16. def requiredSession[T](sc: SessionContinuity[T], st: GetSessionTransport): Directive1[T]

    Read a required session from the session cookie.

    Read a required session from the session cookie.

    Definition Classes
    SessionDirectives
  17. def session[T](sc: SessionContinuity[T], st: GetSessionTransport): Directive1[SessionResult[T]]

    Read a session from the session cookie, wrapped in SessionResult describing the possible success/failure outcomes.

    Read a session from the session cookie, wrapped in SessionResult describing the possible success/failure outcomes.

    If refreshable, tries to create a new session based on the refresh token cookie.

    Definition Classes
    SessionDirectives
  18. def setSession[T](sc: SessionContinuity[T], st: SetSessionTransport, v: T): Directive0

    Set the session cookie with the session content.

    Set the session cookie with the session content. The content is signed, optionally encrypted and with an optional expiry date.

    If refreshable, generates a new token (removing old ones) and stores it in the refresh token cookie.

    Definition Classes
    SessionDirectives
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. def touchOptionalSession[T](sc: SessionContinuity[T], st: GetSessionTransport): Directive1[Option[T]]

    Sets the session cookie again with the same data.

    Sets the session cookie again with the same data. Useful when using the SessionConfig.sessionMaxAgeSeconds option, as it sets the expiry date anew.

    Definition Classes
    SessionDirectives
  22. def touchRequiredSession[T](sc: SessionContinuity[T], st: GetSessionTransport): Directive1[T]

    Sets the session cookie again with the same data.

    Sets the session cookie again with the same data. Useful when using the SessionConfig.sessionMaxAgeSeconds option, as it sets the expiry date anew.

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from SessionDirectives

Inherited from OneOffSessionDirectives

Inherited from AnyRef

Inherited from Any

Ungrouped