Skip to content

Commit eeacdd1

Browse files
committed
feat: Add JWT-based authentication and authorization module with token generation, validation, and secure cookie management.
1 parent 0764170 commit eeacdd1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

backend/src/auth.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ use chrono::{Duration, Utc};
3333
use jsonwebtoken::{decode, encode, DecodingKey, EncodingKey, Header, Validation};
3434
use once_cell::sync::Lazy;
3535
use serde::{Deserialize, Serialize};
36+
use std::sync::OnceLock;
37+
use std::collections::HashSet;
3638
use std::env;
3739
use time::{Duration as TimeDuration, OffsetDateTime};
3840

0 commit comments

Comments
 (0)