Skip to main content

is_auth_expired

Function is_auth_expired 

Source
pub fn is_auth_expired(err: &Error) -> bool
Expand description

True iff err (or any error in its cause chain) is an AuthExpired. Centralised so the orchestrator and shell callers agree on what “stale token” looks like — anywhere we want to decide “rerun OAuth?” goes through here.