Documentation

Hale.WaiExtra.Network.Wai.Middleware.HttpAuth

@[reducible, inline]

Check function type: given username and password, return whether access is granted.

Equations
Instances For
    def Network.Wai.Middleware.basicAuth (check : CheckCreds) (realm : String := "Restricted") :

    HTTP Basic Authentication middleware. Checks the Authorization header against the provided credential checker. Returns 401 Unauthorized if credentials are missing or invalid. $$\text{basicAuth} : \text{CheckCreds} \to \text{String} \to \text{Middleware}$$ The realm parameter is displayed in the browser's auth dialog.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For