Attributes
- Companion
- object
- Source
- SecurityDirectives.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Returns a copy of this AuthenticationDirective that will provide Some(user) if credentials were supplied and otherwise None.
Returns a copy of this AuthenticationDirective that will provide Some(user) if credentials were supplied and otherwise None.
Attributes
- Source
- SecurityDirectives.scala
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.
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.
Attributes
- Source
- SecurityDirectives.scala
Inherited methods
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.
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.
Alias for and.
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
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.
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.
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
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).
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
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.
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
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.
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
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.
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
If the given scala.PartialFunction is defined for the input, maps this directive with the given function, which can produce either a tuple or any other value. If it is not defined however, the returned directive will reject with the given rejections.
If the given scala.PartialFunction is defined for the input, maps this directive with the given function, which can produce either a tuple or any other value. If it is not defined however, the returned directive will reject with the given rejections.
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
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.
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
Flatmaps this directive using the given function.
Flatmaps this directive using the given function.
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
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).
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
Creates a new Directive0, which passes if the given predicate matches the current extractions or rejects with the given rejections.
Creates a new Directive0, which passes if the given predicate matches the current extractions or rejects with the given rejections.
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
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.
Alias for or.
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
Inherited and Abstract methods
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).
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala
Implicits
Inherited implicits
Attributes
- Inherited from:
- Directive
- Source
- Directive.scala