trait AuthenticationDirective[T] extends Directive1[T]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AuthenticationDirective
  2. Directive
  3. AnyRef
  4. Any
Implicitly
  1. by addDirectiveApply
  2. by SingleValueModifiers
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def tapply(f: ((T)) ⇒ Route): Route

    Calls the inner route with a tuple of extracted values of type L.

    Calls the inner route with a tuple of extracted values of type L.

    tapply is short for "tuple-apply". Usually, you will use the regular apply method instead, which is added by an implicit conversion (see Directive.addDirectiveApply).

    Definition Classes
    Directive

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &(magnet: ConjunctionMagnet[(T)]): Out

    Joins two directives into one which extracts the concatenation of its base directive extractions.

    Joins two directives into one which extracts the concatenation of its base directive extractions. NOTE: Extraction joining is an O(N) operation with N being the number of extractions on the right-side.

    Definition Classes
    Directive
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to any2stringadd[AuthenticationDirective[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (AuthenticationDirective[T], B)
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to ArrowAssoc[AuthenticationDirective[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def andThen[A](g: (Route) ⇒ A): (In) ⇒ A
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to (In) ⇒ Route performed by method addDirectiveApply in akka.http.scaladsl.server.Directive. This conversion will take place only if an implicit value of type ApplyConverter[(T)] is in scope.
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  8. def apply(v1: In): Route
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to (In) ⇒ Route performed by method addDirectiveApply in akka.http.scaladsl.server.Directive. This conversion will take place only if an implicit value of type ApplyConverter[(T)] is in scope.
    Definition Classes
    Function1
  9. def as[A](constructor: ConstructFromTuple[(T), A]): Directive1[A]

    Converts this directive into one which, instead of a tuple of type L, creates an instance of type A (which is usually a case class).

    Converts this directive into one which, instead of a tuple of type L, creates an instance of type A (which is usually a case class).

    Definition Classes
    Directive
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. def compose[A](g: (A) ⇒ In): (A) ⇒ Route
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to (In) ⇒ Route performed by method addDirectiveApply in akka.http.scaladsl.server.Directive. This conversion will take place only if an implicit value of type ApplyConverter[(T)] is in scope.
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  13. def ensuring(cond: (AuthenticationDirective[T]) ⇒ Boolean, msg: ⇒ Any): AuthenticationDirective[T]
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to Ensuring[AuthenticationDirective[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (AuthenticationDirective[T]) ⇒ Boolean): AuthenticationDirective[T]
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to Ensuring[AuthenticationDirective[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): AuthenticationDirective[T]
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to Ensuring[AuthenticationDirective[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): AuthenticationDirective[T]
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to Ensuring[AuthenticationDirective[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. implicit val ev: Tuple[(T)]
    Definition Classes
    Directive
  20. def filter(predicate: (T) ⇒ Boolean, rejections: Rejection*): Directive1[T]
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to SingleValueModifiers[T] performed by method SingleValueModifiers in akka.http.scaladsl.server.Directive.
    Definition Classes
    SingleValueModifiers
  21. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def flatMap[R](f: (T) ⇒ Directive[R])(implicit arg0: Tuple[R]): Directive[R]
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to SingleValueModifiers[T] performed by method SingleValueModifiers in akka.http.scaladsl.server.Directive.
    Definition Classes
    SingleValueModifiers
  23. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to StringFormat[AuthenticationDirective[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def map[R](f: (T) ⇒ R)(implicit tupler: Tupler[R]): Directive[Out]
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to SingleValueModifiers[T] performed by method SingleValueModifiers in akka.http.scaladsl.server.Directive.
    Definition Classes
    SingleValueModifiers
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def optional: Directive1[Option[T]]

    Returns a copy of this AuthenticationDirective that will provide Some(user) if credentials were supplied and otherwise None.

  32. def recover[R >: (T)](recovery: (Seq[Rejection]) ⇒ Directive[R])(implicit arg0: Tuple[R]): Directive[R]

    Creates a new directive that is able to recover from rejections that were produced by this Directive **before the inner route was applied**.

    Creates a new directive that is able to recover from rejections that were produced by this Directive **before the inner route was applied**.

    Definition Classes
    Directive
  33. def recoverPF[R >: (T)](recovery: PartialFunction[Seq[Rejection], Directive[R]])(implicit arg0: Tuple[R]): Directive[R]

    Variant of recover that only recovers from rejections handled by the given PartialFunction.

    Variant of recover that only recovers from rejections handled by the given PartialFunction.

    Definition Classes
    Directive
  34. def require(predicate: (T) ⇒ Boolean, rejections: Rejection*): Directive0
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to SingleValueModifiers[T] performed by method SingleValueModifiers in akka.http.scaladsl.server.Directive.
    Definition Classes
    SingleValueModifiers
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def tfilter(predicate: ((T)) ⇒ Boolean, rejections: Rejection*): Directive[(T)]

    Creates a new directive of the same type, which passes if the given predicate matches the current extractions or rejects with the given rejections.

    Creates a new directive of the same type, which passes if the given predicate matches the current extractions or rejects with the given rejections.

    Definition Classes
    Directive
  37. def tflatMap[R](f: ((T)) ⇒ Directive[R])(implicit arg0: Tuple[R]): Directive[R]

    Flatmaps this directive using the given function.

    Flatmaps this directive using the given function.

    Definition Classes
    Directive
  38. def tmap[R](f: ((T)) ⇒ R)(implicit tupler: Tupler[R]): Directive[Out]

    Maps over this directive using the given function, which can produce either a tuple or any other value (which will then we wrapped into a scala.Tuple1).

    Maps over this directive using the given function, which can produce either a tuple or any other value (which will then we wrapped into a scala.Tuple1).

    Definition Classes
    Directive
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def trequire(predicate: ((T)) ⇒ Boolean, rejections: Rejection*): Directive0

    Creates a new akka.http.scaladsl.server.Directive0, which passes if the given predicate matches the current extractions or rejects with the given rejections.

    Creates a new akka.http.scaladsl.server.Directive0, which passes if the given predicate matches the current extractions or rejects with the given rejections.

    Definition Classes
    Directive
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  44. def withAnonymousUser(anonymous: T): Directive1[T]

    Returns a copy of this AuthenticationDirective that uses the given object as the anonymous user which will be used if no credentials were supplied in the request.

  45. def |[R >: (T)](that: Directive[R]): Directive[R]

    Joins two directives into one which runs the second directive if the first one rejects.

    Joins two directives into one which runs the second directive if the first one rejects.

    Definition Classes
    Directive
  46. def [B](y: B): (AuthenticationDirective[T], B)
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to ArrowAssoc[AuthenticationDirective[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def toString(): String
    Implicit
    This member is added by an implicit conversion from AuthenticationDirective[T] to (In) ⇒ Route performed by method addDirectiveApply in akka.http.scaladsl.server.Directive. This conversion will take place only if an implicit value of type ApplyConverter[(T)] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (authenticationDirective: (In) ⇒ Route).toString()
    Definition Classes
    Function1 → AnyRef → Any

Inherited from Directive[(T)]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion addDirectiveApply from AuthenticationDirective[T] to (In) ⇒ Route

Inherited by implicit conversion SingleValueModifiers from AuthenticationDirective[T] to SingleValueModifiers[T]

Inherited by implicit conversion any2stringadd from AuthenticationDirective[T] to any2stringadd[AuthenticationDirective[T]]

Inherited by implicit conversion StringFormat from AuthenticationDirective[T] to StringFormat[AuthenticationDirective[T]]

Inherited by implicit conversion Ensuring from AuthenticationDirective[T] to Ensuring[AuthenticationDirective[T]]

Inherited by implicit conversion ArrowAssoc from AuthenticationDirective[T] to ArrowAssoc[AuthenticationDirective[T]]

Ungrouped