mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-18 11:02:54 +00:00
- Add Claims struct with sub and exp fields for JWT payload - Add AuthConfig struct with secret field loaded from JWT_SECRET environment variable - Add create_token function generating 24-hour expiration tokens - Add validate_token function for JWT verification - Add auth_middleware for Axum with Authorization header Bearer token validation - Allow unauthenticated requests temporarily for packet-gateway integration