HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulewai-extra-3.1.18Haskell2010

Network.Wai.Middleware.HttpAuth

Implements HTTP Basic Authentication.

This module may add digest authentication in the future.

Contents
  1. Middleware
  2. Helping functions
Synopsis

Middleware

datadata AuthSettings

Basic authentication settings. This value is an instance of IsString, so the recommended approach to create a value is to provide a string literal (which will be the realm) and then overriding individual fields.

"My Realm" { authIsProtected = someFunc } :: AuthSettings
Instances1IsString

Helping functions