sttp.tapir.server.interceptor.SecurityFailureContext.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tapir-server_native0.5_2.12 Show documentation
Show all versions of tapir-server_native0.5_2.12 Show documentation
Core classes for server interpreters & interceptors
The newest version!
package sttp.tapir.server.interceptor
import sttp.tapir.Endpoint
import sttp.tapir.model.ServerRequest
import sttp.tapir.server.ServerEndpoint
case class SecurityFailureContext[F[_], A](
serverEndpoint: ServerEndpoint.Full[A, _, _, _, _, _, F],
securityInput: A,
request: ServerRequest
) {
def endpoint: Endpoint[A, _, _, _, _] = serverEndpoint.endpoint
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy