HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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