Trait

com.rasterfoundry.tile

TileAuthentication

Related Doc: package tile

Permalink

trait TileAuthentication extends Authentication with Directives

Linear Supertypes
Authentication, LazyLogging, Directives, FramedEntityStreamingDirectives, WebSocketDirectives, SecurityDirectives, SchemeDirectives, RouteDirectives, RespondWithDirectives, RangeDirectives, PathDirectives, ImplicitPathMatcherConstruction, PathMatchers, TimeoutDirectives, ParameterDirectives, MiscDirectives, MethodDirectives, MarshallingDirectives, HostDirectives, HeaderDirectives, FutureDirectives, FormFieldDirectives, ToNameReceptacleEnhancements, FileUploadDirectives, FileAndResourceDirectives, ExecutionDirectives, CodingDirectives, DebuggingDirectives, CookieDirectives, CacheConditionDirectives, BasicDirectives, RouteConcatenation, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TileAuthentication
  2. Authentication
  3. LazyLogging
  4. Directives
  5. FramedEntityStreamingDirectives
  6. WebSocketDirectives
  7. SecurityDirectives
  8. SchemeDirectives
  9. RouteDirectives
  10. RespondWithDirectives
  11. RangeDirectives
  12. PathDirectives
  13. ImplicitPathMatcherConstruction
  14. PathMatchers
  15. TimeoutDirectives
  16. ParameterDirectives
  17. MiscDirectives
  18. MethodDirectives
  19. MarshallingDirectives
  20. HostDirectives
  21. HeaderDirectives
  22. FutureDirectives
  23. FormFieldDirectives
  24. ToNameReceptacleEnhancements
  25. FileUploadDirectives
  26. FileAndResourceDirectives
  27. ExecutionDirectives
  28. CodingDirectives
  29. DebuggingDirectives
  30. CookieDirectives
  31. CacheConditionDirectives
  32. BasicDirectives
  33. RouteConcatenation
  34. AnyRef
  35. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type AsyncAuthenticator[T] = (Credentials) ⇒ Future[Option[T]]

    Permalink
    Definition Classes
    SecurityDirectives
  2. type AsyncAuthenticatorPF[T] = PartialFunction[Credentials, Future[T]]

    Permalink
    Definition Classes
    SecurityDirectives
  3. type AuthenticationResult[+T] = Either[HttpChallenge, T]

    Permalink
    Definition Classes
    SecurityDirectives
  4. type Authenticator[T] = (Credentials) ⇒ Option[T]

    Permalink
    Definition Classes
    SecurityDirectives
  5. type AuthenticatorPF[T] = PartialFunction[Credentials, T]

    Permalink
    Definition Classes
    SecurityDirectives
  6. abstract class NumberMatcher[T] extends PathMatcher1[T]

    Permalink
    Definition Classes
    PathMatchers
  7. type RequestToSourceUnmarshaller[T] = Unmarshaller[HttpRequest, Source[T, NotUsed]]

    Permalink
    Definition Classes
    FramedEntityStreamingDirectives

Abstract Value Members

  1. implicit abstract def xa: Transactor[IO]

    Permalink
    Definition Classes
    TileAuthentication → Authentication

Concrete 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. val DoubleNumber: PathMatcher1[Double]

    Permalink
    Definition Classes
    PathMatchers
  5. object IntNumber extends NumberMatcher[Int]

    Permalink
    Definition Classes
    PathMatchers
  6. val JavaUUID: PathMatcher1[UUID]

    Permalink
    Definition Classes
    PathMatchers
  7. val Neutral: PathMatcher0

    Permalink
    Definition Classes
    PathMatchers
  8. def Segments(min: Int, max: Int): PathMatcher1[List[String]]

    Permalink
    Definition Classes
    PathMatchers
  9. def Segments(count: Int): PathMatcher1[List[String]]

    Permalink
    Definition Classes
    PathMatchers
  10. val Segments: PathMatcher1[List[String]]

    Permalink
    Definition Classes
    PathMatchers
  11. def _defaultClassLoader: ClassLoader

    Permalink
    Attributes
    protected[akka.http]
    Definition Classes
    FileAndResourceDirectives
  12. implicit def _enhanceRouteWithConcatenation(route: Route): RouteWithConcatenation

    Permalink
    Definition Classes
    RouteConcatenation
  13. implicit def _regex2PathMatcher(regex: Regex): PathMatcher1[String]

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  14. implicit def _segmentStringToPathMatcher(segment: String): PathMatcher0

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  15. implicit def _string2NR(string: String): NameReceptacle[String]

    Permalink
    Definition Classes
    ToNameReceptacleEnhancements
  16. implicit def _stringExtractionPair2PathMatcher[T](tuple: (String, T)): PathMatcher1[T]

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  17. implicit def _stringNameOptionReceptacle2PathMatcher(nr: NameOptionReceptacle[String]): PathMatcher0

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  18. implicit def _symbol2NR(symbol: Symbol): NameReceptacle[String]

    Permalink
    Definition Classes
    ToNameReceptacleEnhancements
  19. implicit def _valueMap2PathMatcher[T](valueMap: Map[String, T]): PathMatcher1[T]

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  20. lazy val anonymousUser: Future[Option[User]]

    Permalink
    Definition Classes
    Authentication
  21. def as[T](implicit um: FromRequestUnmarshaller[T]): FromRequestUnmarshaller[T]

    Permalink
    Definition Classes
    MarshallingDirectives
  22. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  23. final def asSourceOf[T](support: EntityStreamingSupport)(implicit um: FromByteStringUnmarshaller[T]): RequestToSourceUnmarshaller[T]

    Permalink
    Definition Classes
    FramedEntityStreamingDirectives
  24. final def asSourceOf[T](implicit um: FromByteStringUnmarshaller[T], support: EntityStreamingSupport): RequestToSourceUnmarshaller[T]

    Permalink
    Definition Classes
    FramedEntityStreamingDirectives
  25. def authenticate: Directive1[User]

    Permalink
    Definition Classes
    Authentication
  26. def authenticateBasic[T](realm: String, authenticator: Authenticator[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  27. def authenticateBasicAsync[T](realm: String, authenticator: AsyncAuthenticator[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  28. def authenticateBasicPF[T](realm: String, authenticator: AuthenticatorPF[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  29. def authenticateBasicPFAsync[T](realm: String, authenticator: AsyncAuthenticatorPF[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  30. def authenticateOAuth2[T](realm: String, authenticator: Authenticator[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  31. def authenticateOAuth2Async[T](realm: String, authenticator: AsyncAuthenticator[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  32. def authenticateOAuth2PF[T](realm: String, authenticator: AuthenticatorPF[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  33. def authenticateOAuth2PFAsync[T](realm: String, authenticator: AsyncAuthenticatorPF[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  34. def authenticateOrRejectWithChallenge[C <: HttpCredentials, T](authenticator: (Option[C]) ⇒ Future[AuthenticationResult[T]])(implicit arg0: ClassTag[C]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  35. def authenticateOrRejectWithChallenge[T](authenticator: (Option[HttpCredentials]) ⇒ Future[AuthenticationResult[T]]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  36. def authenticateSuperUser: Directive1[User]

    Permalink
    Definition Classes
    Authentication
  37. def authenticateToolTileRoutes(toolRunId: UUID): Directive1[User]

    Permalink
  38. def authenticateWithParameter: Directive1[User]

    Permalink
    Definition Classes
    Authentication
  39. def authenticateWithToken(tokenString: String): Directive1[User]

    Permalink
    Definition Classes
    Authentication
    Annotations
    @SuppressWarnings()
  40. def authorize(check: (RequestContext) ⇒ Boolean): Directive0

    Permalink
    Definition Classes
    SecurityDirectives
  41. def authorize(check: ⇒ Boolean): Directive0

    Permalink
    Definition Classes
    SecurityDirectives
  42. def authorizeAsync(check: (RequestContext) ⇒ Future[Boolean]): Directive0

    Permalink
    Definition Classes
    SecurityDirectives
  43. def authorizeAsync(check: ⇒ Future[Boolean]): Directive0

    Permalink
    Definition Classes
    SecurityDirectives
  44. def cancelRejection(rejection: Rejection): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  45. def cancelRejections(cancelFilter: (Rejection) ⇒ Boolean): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  46. def cancelRejections(classes: Class[_]*): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  47. lazy val challenge: HttpChallenge

    Permalink
    Definition Classes
    Authentication
  48. def checkSameOrigin(allowed: Default): Directive0

    Permalink
    Definition Classes
    HeaderDirectives
  49. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def complete(m: ⇒ ToResponseMarshallable): StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  51. def completeOrRecoverWith(magnet: CompleteOrRecoverWithMagnet): Directive1[Throwable]

    Permalink
    Definition Classes
    FutureDirectives
  52. def completeWith[T](marshaller: ToResponseMarshaller[T])(inner: ((T) ⇒ Unit) ⇒ Unit): Route

    Permalink
    Definition Classes
    MarshallingDirectives
  53. def concat(routes: Route*): Route

    Permalink
    Definition Classes
    RouteConcatenation
  54. def conditional(eTag: Option[EntityTag], lastModified: Option[DateTime]): Directive0

    Permalink
    Definition Classes
    CacheConditionDirectives
  55. def conditional(eTag: EntityTag, lastModified: DateTime): Directive0

    Permalink
    Definition Classes
    CacheConditionDirectives
  56. def conditional(lastModified: DateTime): Directive0

    Permalink
    Definition Classes
    CacheConditionDirectives
  57. def conditional(eTag: EntityTag): Directive0

    Permalink
    Definition Classes
    CacheConditionDirectives
  58. val configAuth: typesafe.config.Config

    Permalink
    Definition Classes
    Authentication
  59. def cookie(name: String): Directive1[HttpCookiePair]

    Permalink
    Definition Classes
    CookieDirectives
  60. def createUserWithRoles(userId: String, email: String, name: String, picture: String, jwtClaims: JWTClaimsSet): doobie.ConnectionIO[(User, List[UserGroupRole])]

    Permalink
    Definition Classes
    Authentication
  61. def decodeRequest: Directive0

    Permalink
    Definition Classes
    CodingDirectives
  62. def decodeRequestWith(decoders: Decoder*): Directive0

    Permalink
    Definition Classes
    CodingDirectives
  63. def decodeRequestWith(decoder: Decoder): Directive0

    Permalink
    Definition Classes
    CodingDirectives
  64. def defaultPersonalInfo(user: User, claims: JWTClaimsSet): PersonalInfo

    Permalink
    Definition Classes
    Authentication
  65. def delete: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  66. def deleteCookie(name: String, domain: String, path: String): Directive0

    Permalink
    Definition Classes
    CookieDirectives
  67. def deleteCookie(first: HttpCookie, more: HttpCookie*): Directive0

    Permalink
    Definition Classes
    CookieDirectives
  68. def encodeResponse: Directive0

    Permalink
    Definition Classes
    CodingDirectives
  69. def encodeResponseWith(first: Encoder, more: Encoder*): Directive0

    Permalink
    Definition Classes
    CodingDirectives
  70. def entity[T](um: FromRequestUnmarshaller[T]): Directive1[T]

    Permalink
    Definition Classes
    MarshallingDirectives
  71. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  73. def extract[T](f: (RequestContext) ⇒ T): Directive1[T]

    Permalink
    Definition Classes
    BasicDirectives
  74. def extractActorSystem: Directive1[ActorSystem]

    Permalink
    Definition Classes
    BasicDirectives
  75. def extractClientIP: Directive1[RemoteAddress]

    Permalink
    Definition Classes
    MiscDirectives
  76. def extractCredentials: Directive1[Option[HttpCredentials]]

    Permalink
    Definition Classes
    SecurityDirectives
  77. def extractDataBytes: Directive1[Source[ByteString, Any]]

    Permalink
    Definition Classes
    BasicDirectives
  78. def extractExecutionContext: Directive1[ExecutionContextExecutor]

    Permalink
    Definition Classes
    BasicDirectives
  79. def extractHost: Directive1[String]

    Permalink
    Definition Classes
    HostDirectives
  80. def extractLog: Directive1[LoggingAdapter]

    Permalink
    Definition Classes
    BasicDirectives
  81. def extractMatchedPath: Directive1[Path]

    Permalink
    Definition Classes
    BasicDirectives
  82. def extractMaterializer: Directive1[Materializer]

    Permalink
    Definition Classes
    BasicDirectives
  83. def extractMethod: Directive1[HttpMethod]

    Permalink
    Definition Classes
    MethodDirectives
  84. def extractOfferedWsProtocols: Directive1[Seq[String]]

    Permalink
    Definition Classes
    WebSocketDirectives
  85. def extractParserSettings: Directive1[ParserSettings]

    Permalink
    Definition Classes
    BasicDirectives
  86. def extractRequest: Directive1[HttpRequest]

    Permalink
    Definition Classes
    BasicDirectives
  87. def extractRequestContext: Directive1[RequestContext]

    Permalink
    Definition Classes
    BasicDirectives
  88. def extractRequestEntity: Directive1[RequestEntity]

    Permalink
    Definition Classes
    BasicDirectives
  89. def extractRequestTimeout: Directive1[Duration]

    Permalink
    Definition Classes
    TimeoutDirectives
  90. def extractScheme: Directive1[String]

    Permalink
    Definition Classes
    SchemeDirectives
  91. def extractSettings: Directive1[RoutingSettings]

    Permalink
    Definition Classes
    BasicDirectives
  92. def extractStrictEntity(timeout: FiniteDuration, maxBytes: Long): Directive1[Strict]

    Permalink
    Definition Classes
    BasicDirectives
  93. def extractStrictEntity(timeout: FiniteDuration): Directive1[Strict]

    Permalink
    Definition Classes
    BasicDirectives
  94. def extractTokenHeader: Directive1[String]

    Permalink
    Definition Classes
    Authentication
  95. def extractUnmatchedPath: Directive1[Path]

    Permalink
    Definition Classes
    BasicDirectives
  96. def extractUpgradeToWebSocket: Directive1[UpgradeToWebSocket]

    Permalink
    Definition Classes
    WebSocketDirectives
  97. def extractUri: Directive1[Uri]

    Permalink
    Definition Classes
    BasicDirectives
  98. def failWith(error: Throwable): StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  99. def fileUpload(fieldName: String): Directive1[(FileInfo, Source[ByteString, Any])]

    Permalink
    Definition Classes
    FileUploadDirectives
  100. def fileUploadAll(fieldName: String): Directive1[Seq[(FileInfo, Source[ByteString, Any])]]

    Permalink
    Definition Classes
    FileUploadDirectives
    Annotations
    @ApiMayChange()
  101. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  102. def formField(pdm: FieldMagnet): Out

    Permalink
    Definition Classes
    FormFieldDirectives
  103. def formFieldMap: Directive1[Map[String, String]]

    Permalink
    Definition Classes
    FormFieldDirectives
  104. def formFieldMultiMap: Directive1[Map[String, List[String]]]

    Permalink
    Definition Classes
    FormFieldDirectives
  105. def formFieldSeq: Directive1[Seq[(String, String)]]

    Permalink
    Definition Classes
    FormFieldDirectives
  106. def formFields(pdm: FieldMagnet): Out

    Permalink
    Definition Classes
    FormFieldDirectives
  107. def get: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  108. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  109. def getFromBrowseableDirectories(directories: String*)(implicit renderer: DirectoryRenderer, resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  110. def getFromBrowseableDirectory(directory: String)(implicit renderer: DirectoryRenderer, resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  111. def getFromDirectory(directoryName: String)(implicit resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  112. def getFromFile(file: File, contentType: ContentType): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  113. def getFromFile(file: File)(implicit resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  114. def getFromFile(fileName: String)(implicit resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  115. def getFromResource(resourceName: String, contentType: ContentType, classLoader: ClassLoader): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  116. def getFromResource(resourceName: String)(implicit resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  117. def getFromResourceDirectory(directoryName: String, classLoader: ClassLoader)(implicit resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  118. def getNameOrFallback(claims: JWTClaimsSet): String

    Permalink
    Definition Classes
    Authentication
  119. def getStringClaimOrBlank(claims: JWTClaimsSet, key: String): String

    Permalink
    Definition Classes
    Authentication
  120. def handleExceptions(handler: ExceptionHandler): Directive0

    Permalink
    Definition Classes
    ExecutionDirectives
  121. def handleRejections(handler: RejectionHandler): Directive0

    Permalink
    Definition Classes
    ExecutionDirectives
  122. def handleWebSocketMessages(handler: Flow[Message, Message, Any]): Route

    Permalink
    Definition Classes
    WebSocketDirectives
  123. def handleWebSocketMessagesForOptionalProtocol(handler: Flow[Message, Message, Any], subprotocol: Option[String]): Route

    Permalink
    Definition Classes
    WebSocketDirectives
  124. def handleWebSocketMessagesForProtocol(handler: Flow[Message, Message, Any], subprotocol: String): Route

    Permalink
    Definition Classes
    WebSocketDirectives
  125. def handleWith[A, B](f: (A) ⇒ B)(implicit um: FromRequestUnmarshaller[A], m: ToResponseMarshaller[B]): Route

    Permalink
    Definition Classes
    MarshallingDirectives
  126. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  127. def head: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  128. def headerValue[T](f: (HttpHeader) ⇒ Option[T]): Directive1[T]

    Permalink
    Definition Classes
    HeaderDirectives
  129. def headerValueByName(headerName: String): Directive1[String]

    Permalink
    Definition Classes
    HeaderDirectives
  130. def headerValueByName(headerName: Symbol): Directive1[String]

    Permalink
    Definition Classes
    HeaderDirectives
  131. def headerValueByType[T](magnet: HeaderMagnet[T]): Directive1[T]

    Permalink
    Definition Classes
    HeaderDirectives
  132. def headerValuePF[T](pf: PartialFunction[HttpHeader, T]): Directive1[T]

    Permalink
    Definition Classes
    HeaderDirectives
  133. def host(regex: Regex): Directive1[String]

    Permalink
    Definition Classes
    HostDirectives
  134. def host(predicate: (String) ⇒ Boolean): Directive0

    Permalink
    Definition Classes
    HostDirectives
  135. def host(hostNames: String*): Directive0

    Permalink
    Definition Classes
    HostDirectives
  136. def ignoreTrailingSlash: Directive0

    Permalink
    Definition Classes
    PathDirectives
  137. def instanceOf[T](implicit m: ToResponseMarshaller[T]): ToResponseMarshaller[T]

    Permalink
    Definition Classes
    MarshallingDirectives
  138. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  139. def isProjectMapTokenValid(projectId: UUID): Directive1[Boolean]

    Permalink
  140. def isProjectPublic(id: UUID): Directive1[Boolean]

    Permalink
  141. def listDirectoryContents(directories: String*)(implicit renderer: DirectoryRenderer): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  142. def logRequest(magnet: LoggingMagnet[(HttpRequest) ⇒ Unit]): Directive0

    Permalink
    Definition Classes
    DebuggingDirectives
  143. def logRequestResult(magnet: LoggingMagnet[(HttpRequest) ⇒ (RouteResult) ⇒ Unit]): Directive0

    Permalink
    Definition Classes
    DebuggingDirectives
  144. def logResult(magnet: LoggingMagnet[(RouteResult) ⇒ Unit]): Directive0

    Permalink
    Definition Classes
    DebuggingDirectives
  145. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  146. def mapInnerRoute(f: (Route) ⇒ Route): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  147. def mapRejections(f: (Seq[Rejection]) ⇒ Seq[Rejection]): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  148. def mapRequest(f: (HttpRequest) ⇒ HttpRequest): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  149. def mapRequestContext(f: (RequestContext) ⇒ RequestContext): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  150. def mapResponse(f: (HttpResponse) ⇒ HttpResponse): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  151. def mapResponseEntity(f: (ResponseEntity) ⇒ ResponseEntity): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  152. def mapResponseHeaders(f: (Seq[HttpHeader]) ⇒ Seq[HttpHeader]): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  153. def mapRouteResult(f: (RouteResult) ⇒ RouteResult): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  154. def mapRouteResultFuture(f: (Future[RouteResult]) ⇒ Future[RouteResult]): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  155. def mapRouteResultPF(f: PartialFunction[RouteResult, RouteResult]): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  156. def mapRouteResultWith(f: (RouteResult) ⇒ Future[RouteResult]): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  157. def mapRouteResultWithPF(f: PartialFunction[RouteResult, Future[RouteResult]]): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  158. def mapSettings(f: (RoutingSettings) ⇒ RoutingSettings): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  159. def mapUnmatchedPath(f: (Path) ⇒ Path): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  160. lazy val memcachedClient: KryoMemcachedClient

    Permalink
  161. def method(httpMethod: HttpMethod): Directive0

    Permalink
    Definition Classes
    MethodDirectives
  162. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  163. def nothingMatcher[L](implicit arg0: Tuple[L]): PathMatcher[L]

    Permalink
    Definition Classes
    PathMatchers
  164. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  166. def onComplete[T](future: ⇒ Future[T]): Directive1[Try[T]]

    Permalink
    Definition Classes
    FutureDirectives
  167. def onCompleteWithBreaker[T](breaker: CircuitBreaker)(future: ⇒ Future[T]): Directive1[Try[T]]

    Permalink
    Definition Classes
    FutureDirectives
  168. def onSuccess(magnet: OnSuccessMagnet): Directive[Out]

    Permalink
    Definition Classes
    FutureDirectives
  169. def optionalCookie(name: String): Directive1[Option[HttpCookiePair]]

    Permalink
    Definition Classes
    CookieDirectives
  170. def optionalHeaderValue[T](f: (HttpHeader) ⇒ Option[T]): Directive1[Option[T]]

    Permalink
    Definition Classes
    HeaderDirectives
  171. def optionalHeaderValueByName(headerName: String): Directive1[Option[String]]

    Permalink
    Definition Classes
    HeaderDirectives
  172. def optionalHeaderValueByName(headerName: Symbol): Directive1[Option[String]]

    Permalink
    Definition Classes
    HeaderDirectives
  173. def optionalHeaderValueByType[T <: HttpHeader](magnet: HeaderMagnet[T]): Directive1[Option[T]]

    Permalink
    Definition Classes
    HeaderDirectives
  174. def optionalHeaderValuePF[T](pf: PartialFunction[HttpHeader, T]): Directive1[Option[T]]

    Permalink
    Definition Classes
    HeaderDirectives
  175. def options: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  176. def overrideMethodWithParameter(paramName: String): Directive0

    Permalink
    Definition Classes
    MethodDirectives
  177. def parameter(pdm: ParamMagnet): Out

    Permalink
    Definition Classes
    ParameterDirectives
  178. def parameterMap: Directive1[Map[String, String]]

    Permalink
    Definition Classes
    ParameterDirectives
  179. def parameterMultiMap: Directive1[Map[String, List[String]]]

    Permalink
    Definition Classes
    ParameterDirectives
  180. def parameterSeq: Directive1[Seq[(String, String)]]

    Permalink
    Definition Classes
    ParameterDirectives
  181. def parameters(pdm: ParamMagnet): Out

    Permalink
    Definition Classes
    ParameterDirectives
  182. def pass: Directive0

    Permalink
    Definition Classes
    BasicDirectives
  183. def patch: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  184. def path[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  185. def pathEnd: Directive0

    Permalink
    Definition Classes
    PathDirectives
  186. def pathEndOrSingleSlash: Directive0

    Permalink
    Definition Classes
    PathDirectives
  187. def pathPrefix[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  188. def pathPrefixTest[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  189. def pathSingleSlash: Directive0

    Permalink
    Definition Classes
    PathDirectives
  190. def pathSuffix[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  191. def pathSuffixTest[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  192. def post: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  193. def projectTileAccessAuthorized(projectId: UUID): Directive1[Boolean]

    Permalink

    Authorize tile access if given valid token, mapToken, or if project is public

    Authorize tile access if given valid token, mapToken, or if project is public

    isTokenParameterValid and isMapTokenValid only run if the respective query parameter is specified. Since isTokenParameterValid does not make a database call, it is the fastest and should be run first. If mapToken is specified, we allow access if it is valid. We don't need to make an additional database call to see if the project is public, since that would not affect our decision. Finally, those accessing a public project would not specify a token or mapToken parameter, so only the third directive will run. We make a single database call to check that.

    This order guarantees that at most one database call is made in every case.

  194. def provide[T](value: T): Directive1[T]

    Permalink
    Definition Classes
    BasicDirectives
  195. def put: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  196. def rawPathPrefix[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  197. def rawPathPrefixTest[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  198. def recoverRejections(f: (Seq[Rejection]) ⇒ RouteResult): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  199. def recoverRejectionsWith(f: (Seq[Rejection]) ⇒ Future[RouteResult]): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  200. def redirect(uri: Uri, redirectionType: Redirection): StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  201. def redirectToNoTrailingSlashIfPresent(redirectionType: Redirection): Directive0

    Permalink
    Definition Classes
    PathDirectives
  202. def redirectToTrailingSlashIfMissing(redirectionType: Redirection): Directive0

    Permalink
    Definition Classes
    PathDirectives
  203. def reject(rejections: Rejection*): StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  204. def reject: StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  205. def rejectEmptyResponse: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  206. def requestEncodedWith(encoding: HttpEncoding): Directive0

    Permalink
    Definition Classes
    CodingDirectives
  207. def requestEntityEmpty: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  208. def requestEntityPresent: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  209. def respondWithDefaultHeader(responseHeader: HttpHeader): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  210. def respondWithDefaultHeaders(responseHeaders: Seq[HttpHeader]): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  211. def respondWithDefaultHeaders(responseHeaders: HttpHeader*): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  212. def respondWithHeader(responseHeader: HttpHeader): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  213. def respondWithHeaders(responseHeaders: Seq[HttpHeader]): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  214. def respondWithHeaders(responseHeaders: HttpHeader*): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  215. def responseEncodingAccepted(encoding: HttpEncoding): Directive0

    Permalink
    Definition Classes
    CodingDirectives
  216. val rfCache: CacheClient

    Permalink
  217. def scheme(name: String): Directive0

    Permalink
    Definition Classes
    SchemeDirectives
  218. def selectPreferredLanguage(first: Language, more: Language*): Directive1[Language]

    Permalink
    Definition Classes
    MiscDirectives
  219. def separateOnSlashes(string: String): PathMatcher0

    Permalink
    Definition Classes
    PathMatchers
  220. def setCookie(first: HttpCookie, more: HttpCookie*): Directive0

    Permalink
    Definition Classes
    CookieDirectives
  221. def storeUploadedFile(fieldName: String, destFn: (FileInfo) ⇒ File): Directive[(FileInfo, File)]

    Permalink
    Definition Classes
    FileUploadDirectives
    Annotations
    @ApiMayChange()
  222. def storeUploadedFiles(fieldName: String, destFn: (FileInfo) ⇒ File): Directive1[Seq[(FileInfo, File)]]

    Permalink
    Definition Classes
    FileUploadDirectives
    Annotations
    @ApiMayChange()
  223. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  224. def textract[L](f: (RequestContext) ⇒ L)(implicit arg0: Tuple[L]): Directive[L]

    Permalink
    Definition Classes
    BasicDirectives
  225. def tileAuthenticateOption: Directive1[Boolean]

    Permalink

    Check optional tile authentication

    Check optional tile authentication

    Returns true if authenticated. Performs authentication if set in environment variable or if the environment variable is unset

  226. def toStrictEntity(timeout: FiniteDuration, maxBytes: Long): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  227. def toStrictEntity(timeout: FiniteDuration): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  228. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  229. def tprovide[L](values: L)(implicit arg0: Tuple[L]): Directive[L]

    Permalink
    Definition Classes
    BasicDirectives
  230. def validate(check: ⇒ Boolean, errorMsg: String): Directive0

    Permalink
    Definition Classes
    MiscDirectives
  231. def validateMapTokenParameters(toolRunId: UUID, mapToken: String): Directive1[User]

    Permalink
  232. def verifyJWT(tokenString: String): Either[BadJWTException, (JwtToken, JWTClaimsSet)]

    Permalink
    Definition Classes
    Authentication
  233. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  236. def withExecutionContext(ec: ExecutionContextExecutor): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  237. def withLog(log: LoggingAdapter): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  238. def withMaterializer(materializer: Materializer): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  239. def withPrecompressedMediaTypeSupport: Directive0

    Permalink
    Definition Classes
    CodingDirectives
  240. def withRangeSupport: Directive0

    Permalink
    Definition Classes
    RangeDirectives
  241. def withRequestTimeout(timeout: Duration, handler: Option[(HttpRequest) ⇒ HttpResponse]): Directive0

    Permalink
    Definition Classes
    TimeoutDirectives
  242. def withRequestTimeout(timeout: Duration, handler: (HttpRequest) ⇒ HttpResponse): Directive0

    Permalink
    Definition Classes
    TimeoutDirectives
  243. def withRequestTimeout(timeout: Duration): Directive0

    Permalink
    Definition Classes
    TimeoutDirectives
  244. def withRequestTimeoutResponse(handler: (HttpRequest) ⇒ HttpResponse): Directive0

    Permalink
    Definition Classes
    TimeoutDirectives
  245. def withSettings(settings: RoutingSettings): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  246. def withSizeLimit(maxBytes: Long): Directive0

    Permalink
    Definition Classes
    MiscDirectives
  247. def withoutRequestTimeout: Directive0

    Permalink
    Definition Classes
    TimeoutDirectives
  248. def withoutSizeLimit: Directive0

    Permalink
    Definition Classes
    MiscDirectives

Deprecated Value Members

  1. def uploadedFile(fieldName: String): Directive1[(FileInfo, File)]

    Permalink
    Definition Classes
    FileUploadDirectives
    Annotations
    @deprecated
    Deprecated

    (Since version 10.0.11) Deprecated in favor of storeUploadedFile which allows to specify a file to store the upload in.

Inherited from Authentication

Inherited from LazyLogging

Inherited from Directives

Inherited from FramedEntityStreamingDirectives

Inherited from WebSocketDirectives

Inherited from SecurityDirectives

Inherited from SchemeDirectives

Inherited from RouteDirectives

Inherited from RespondWithDirectives

Inherited from RangeDirectives

Inherited from PathDirectives

Inherited from ImplicitPathMatcherConstruction

Inherited from PathMatchers

Inherited from TimeoutDirectives

Inherited from ParameterDirectives

Inherited from MiscDirectives

Inherited from MethodDirectives

Inherited from MarshallingDirectives

Inherited from HostDirectives

Inherited from HeaderDirectives

Inherited from FutureDirectives

Inherited from FormFieldDirectives

Inherited from ToNameReceptacleEnhancements

Inherited from FileUploadDirectives

Inherited from FileAndResourceDirectives

Inherited from ExecutionDirectives

Inherited from CodingDirectives

Inherited from DebuggingDirectives

Inherited from CookieDirectives

Inherited from CacheConditionDirectives

Inherited from BasicDirectives

Inherited from RouteConcatenation

Inherited from AnyRef

Inherited from Any

Ungrouped