Class

com.lookout.borderpatrol.auth

SessionIdFilter

Related Doc: package auth

Permalink

case class SessionIdFilter(matcher: ServiceMatcher, store: SessionStore)(implicit secretStore: SecretStoreApi, statsReceiver: StatsReceiver) extends Filter[CustomerIdRequest, Response, SessionIdRequest, Response] with Product with Serializable

Ensures we have a SignedId present in this request, sending a Redirect to the service login page if it doesn't

Linear Supertypes
Serializable, Serializable, Product, Equals, Filter[CustomerIdRequest, Response, SessionIdRequest, Response], (CustomerIdRequest, Service[SessionIdRequest, Response]) ⇒ Future[Response], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SessionIdFilter
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Filter
  7. Function2
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SessionIdFilter(matcher: ServiceMatcher, store: SessionStore)(implicit secretStore: SecretStoreApi, statsReceiver: StatsReceiver)

    Permalink

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. def andThen(factory: ServiceFactory[SessionIdRequest, Response]): ServiceFactory[CustomerIdRequest, Response]

    Permalink
    Definition Classes
    Filter
  5. def andThen(f: (SessionIdRequest) ⇒ Future[Response]): (CustomerIdRequest) ⇒ Future[Response]

    Permalink
    Definition Classes
    Filter
  6. def andThen(service: Service[SessionIdRequest, Response]): Service[CustomerIdRequest, Response]

    Permalink
    Definition Classes
    Filter
  7. def andThen[Req2, Rep2](next: Filter[SessionIdRequest, Response, Req2, Rep2]): Filter[CustomerIdRequest, Response, Req2, Rep2]

    Permalink
    Definition Classes
    Filter
  8. def andThenIf[Req2 >: SessionIdRequest, Rep2 <: Response](condAndFilter: (Boolean, Filter[SessionIdRequest, Response, Req2, Rep2])): Filter[CustomerIdRequest, Response, Req2, Rep2]

    Permalink
    Definition Classes
    Filter
  9. def apply(req: CustomerIdRequest, service: Service[SessionIdRequest, Response]): Future[Response]

    Permalink

    Passes the SignedId to the next in the filter chain.

    Passes the SignedId to the next in the filter chain. If any failures decoding the SignedId occur (expired, not there, etc), we will terminate early and send a redirect

    Definition Classes
    SessionIdFilter → Filter → Function2
  10. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def curried: (CustomerIdRequest) ⇒ (Service[SessionIdRequest, Response]) ⇒ Future[Response]

    Permalink
    Definition Classes
    Function2
    Annotations
    @unspecialized()
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val matcher: ServiceMatcher

    Permalink
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. val store: SessionStore

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

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

    Permalink
    Definition Classes
    Function2 → AnyRef → Any
  24. def tupled: ((CustomerIdRequest, Service[SessionIdRequest, Response])) ⇒ Future[Response]

    Permalink
    Definition Classes
    Function2
    Annotations
    @unspecialized()
  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 Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Filter[CustomerIdRequest, Response, SessionIdRequest, Response]

Inherited from (CustomerIdRequest, Service[SessionIdRequest, Response]) ⇒ Future[Response]

Inherited from AnyRef

Inherited from Any

Ungrouped