diff options
author | Cara Salter <cara@devcara.com> | 2022-05-30 00:24:40 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-05-30 00:24:40 -0400 |
commit | ecca0e8cef755899049e7f541c86b9d06b2438a4 (patch) | |
tree | 1b86c9667a3044b885a468744780effee1ed401f /Cargo.lock | |
parent | b7752eef57e008c0d2a7dad868e98ff8b802bd22 (diff) | |
download | homeworld-ecca0e8cef755899049e7f541c86b9d06b2438a4.tar.gz homeworld-ecca0e8cef755899049e7f541c86b9d06b2438a4.zip |
meta: Add Bearer authentication
Makes use of a pre-shared key. Do not expose this to the internet!
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -95,6 +95,17 @@ dependencies = [ ] [[package]] +name = "axum-auth" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a78cc399f2af2dd7adf88e0fcc0e21dbf730258c1b34785f47816ff224238f74" +dependencies = [ + "axum", + "base64", + "http", +] + +[[package]] name = "axum-core" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -499,6 +510,7 @@ name = "homeworld" version = "0.1.0" dependencies = [ "axum", + "axum-auth", "color-eyre", "eyre", "hyper", |