pub async fn session_recently_reauthenticated(
pool: &PgPool,
user_id: Uuid,
token: &str,
) -> AppResult<bool>Expand description
Whether the web session token of the user signed in again with single
sign-on within the last REAUTH_WINDOW_MINUTES.