mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
- TokenStore ABC, MemoryTokenStore, ExplicitTokenStore, RequestTokenStore - Registry with shared instances per project_id - CAS refresh algorithm with timing thresholds (20s/75s) - Sync and async variants of get_or_fetch_likely_valid_tokens - Helper functions: _is_fresh_enough, _is_expired, _decode_jwt_payload