HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleservant-server-0.20.2Haskell2010

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