Skip to main content

systemprompt_cloud/auth/
mod.rs

1//! JWT expiry inspection used to decide when a cloud session needs refreshing.
2//!
3//! Re-exports [`decode_expiry`], [`expires_within`], and [`is_expired`].
4//!
5//! Copyright (c) systemprompt.io — Business Source License 1.1.
6//! See <https://systemprompt.io> for licensing details.
7
8mod token;
9
10pub use token::{decode_expiry, expires_within, is_expired};