Added auth route (temp api key route)

This commit is contained in:
2024-12-19 19:54:05 -05:00
parent 4840c7c001
commit a97505ea5e
15 changed files with 288 additions and 137 deletions

View File

@@ -0,0 +1,10 @@
use serde::{Deserialize, Serialize};
#[derive(Debug, Serialize, Deserialize)]
pub struct BearerTokenClaims {
pub sub: String,
pub name: String,
pub iat: i64,
pub exp: i64,
pub jti: String,
}