From a92fb07d23fb2268a6f4e650c5cbd00ad993e760 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 21 Aug 2024 13:25:55 +0200 Subject: Add login Fields sent are ``` { "query": "mutation Login($input: LoginCredentials!) { login(input: $input) { accessToken tokenType } }", "variables": { "input": { "email": "....", "password": "..." } } } ``` --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 50f662d..31bc110 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,3 +18,7 @@ tower-http = { version = "0.5.2", features = ["trace", "compression-br", "propag lazy_static = "1.5.0" serde = { version = "1.0.208", features = ["derive"] } tokio-postgres = "0.7.11" +jsonwebtoken = "9.3.0" +once_cell = "1.19.0" +chrono = "0.4.38" +sha256 = "1.5.0" -- cgit v1.2.3-18-g5258