Skip to main content

Module session_cache

Module session_cache 

Source

Structs§

SessionCache
Handle for reading/writing a session cache file.

Constants§

EXPIRY_MARGIN_SECS
Safety margin subtracted from JWT expiry (60 seconds).

Functions§

fallback_expiry
Default fallback expiry: 2 hours from now.
jwt_expiry
Extract the exp claim from a JWT token string.