HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleservant-server-0.20.3.0Haskell2010

Servant.Server.Internal.BasicAuth

  • 2 types
  • 3 values

Basic Auth

5 declarations
datadata BasicAuthResult usr
#

servant-server's current implementation of basic authentication is not immune to certain kinds of timing attacks. Decoding payloads does not take a fixed amount of time.

The result of authentication/authorization

Instances6Functor, Eq, Read, Show, Generic, Rep
newtypenewtype BasicAuthCheck usr
#

Datatype wrapping a function used to check authentication.

Instances3Functor, Generic, Rep