No description
Find a file
Shautvast dd9651a946 Add session expiry tracking and token refresh to proton-bridge
- Store expires_at (Unix timestamp) in session.json from ExpiresIn response field
- Add is_expired() with 5-minute refresh margin
- Implement POST /auth/v4/refresh flow: tries refresh before falling back to SRP login
- authenticate() now: use cached → refresh if expired → full login if all else fails

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 15:27:47 +01:00
proton-bridge Add session expiry tracking and token refresh to proton-bridge 2026-02-20 15:27:47 +01:00
src Add proton-bridge crate: workspace setup and SRP authentication (Step 2) 2026-02-19 21:31:10 +01:00
.gitignore Add proton-bridge crate: workspace setup and SRP authentication (Step 2) 2026-02-19 21:31:10 +01:00
Cargo.lock Add proton-bridge crate: workspace setup and SRP authentication (Step 2) 2026-02-19 21:31:10 +01:00
Cargo.toml Add proton-bridge crate: workspace setup and SRP authentication (Step 2) 2026-02-19 21:31:10 +01:00
CLAUDE.md Update CLAUDE.md for skim project 2026-02-17 21:34:46 +01:00
config.toml.example Add SMTP send with TLS mode support and timeouts 2026-02-19 20:07:17 +01:00
docker-compose.yml basic gui and login to imap 2026-02-17 17:24:35 +01:00
MAIL_SERVER_SETUP.md Reorganize mail setup docs with Gmail instructions first 2026-02-17 21:00:43 +01:00
PROTON.md Add proton-bridge crate: workspace setup and SRP authentication (Step 2) 2026-02-19 21:31:10 +01:00