server: add OAuth2 authentication routes

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Icacb5359f4d05d53d4c1b60cc2c0f4f66a6a6964
This commit is contained in:
raf 2026-02-07 20:04:19 +03:00
commit a9e9599d5b
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
4 changed files with 546 additions and 3 deletions

View file

@ -60,7 +60,8 @@ impl SessionData {
#[derive(Clone)]
pub struct AppState {
pub pool: PgPool,
pub config: Config,
pub sessions: Arc<DashMap<String, SessionData>>,
pub pool: PgPool,
pub config: Config,
pub sessions: Arc<DashMap<String, SessionData>>,
pub http_client: reqwest::Client,
}