weywot/backend
Dustin ea89601f49 auth: Add authentication method
The *POST /auth/login* operation authenticates a user given a username
and password.  The actual authentication is preformed by the daemon,
since it is privileged and will be able to read `/etc/shadow` via the
`pam_unix.so` module.

Upon successful login, a signed cookie containing the username is set
for the client.  I'm not sure if any other information will need to be
stored in the cookie yet.  The cookie contains a JSON document that we
can extend if necessary.
2022-01-11 21:37:43 -06:00
..
src auth: Add authentication method 2022-01-11 21:37:43 -06:00
.gitignore backend: Begin server process work 2022-01-08 17:28:42 -06:00
Cargo.lock auth: Add authentication method 2022-01-11 21:37:43 -06:00
Cargo.toml auth: Add authentication method 2022-01-11 21:37:43 -06:00
rustfmt.toml backend: Begin server process work 2022-01-08 17:28:42 -06:00