Compare both limits
The effective remaining time is the smaller of idle and absolute remaining minutes.
Day 079 / Security / Session Policy
Compare idle and absolute session limits and identify which timeout will end a session first.
The effective remaining time is the smaller of idle and absolute remaining minutes.
Unknown fields, invalid ranges, booleans and idle time beyond session age fail explicitly.
The report never claims to revoke a token, log out a user, resolve clock skew or replace server-side checks.
Seven passing tests
Idle and absolute expiry modeled
Strict input validation
Deterministic JSON output
No network or third-party packages
Argparse, pathlib and JSON provide a small offline policy calculator.
Seven tests cover idle, absolute and simultaneous triggers, both expiry paths, validation and CLI output.