HttpBasicAuth
HTTP basic authentication as a Plug module.
Installation
If available in Hex, the package can be installed as:
-
Add
http_basic_authto your list of dependencies inmix.exs:
```elixir
def deps do
[{:http_basic_auth, "~> 0.1.0"}]
end
```-
Ensure
http_basic_authis started before your application:
```elixir
def application do
[applications: [:http_basic_auth]]
end
```