Skip to main content

MAX_ACCESS_TOKEN_TTL_SECS

Constant MAX_ACCESS_TOKEN_TTL_SECS 

Source
pub const MAX_ACCESS_TOKEN_TTL_SECS: u32 = 900;
Expand description

Hard ceiling on the access-token TTL minted from a UCAN grant. ZSP: grant tokens are deliberately short-lived so the re-evaluation-on-refresh property has teeth. The OAuth layer clamps its configured token_ttl down to this.