workos 3.4.1

Official Rust SDK for the WorkOS API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// This file is auto-generated by oagen. Do not edit.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Token and session lifetimes for sessions minted from this blueprint.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct AgentBlueprintsCreateRequestSessionSetting {
    /// Maximum lifetime of a session in seconds; refreshes never extend a session past this. At most 31,536,000 (365 days).
    pub max_age_seconds: i64,
    /// Lifetime of each minted access token in seconds. At most 3,600 (1 hour).
    pub access_token_ttl_seconds: i64,
    /// Lifetime of each rotated refresh token in seconds. At most 5,184,000 (60 days).
    pub refresh_token_ttl_seconds: i64,
}