# `ExDav.Authenticator.Basic`
[🔗](https://git.sr.ht/~sbr/ExDav)

HTTP Basic authenticator. Verifies the username/password pair via a
configurable `:verify` MFA tuple `{module, function}` invoked as
`apply(module, function, [username, password])`. Returns the username
as the principal on success.

    authenticator: {ExDav.Authenticator.Basic,
                    verify: {ExDav.Storage.Postgres, :authenticate}}

---

*Consult [api-reference.md](api-reference.md) for complete listing*
