workos 1.0.0

Official Rust SDK for the WorkOS API
Documentation
// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct RefreshTokenSessionAuthenticateRequest {
    /// The client ID of the application.
    pub client_id: String,
    /// The client secret of the application.
    pub client_secret: crate::SecretString,
    pub grant_type: String,
    /// The refresh token to exchange for new tokens.
    pub refresh_token: crate::SecretString,
    /// The ID of the organization to scope the session to.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub organization_id: Option<String>,
    /// The IP address of the user's request.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub ip_address: Option<String>,
    /// A unique identifier for the device.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub device_id: Option<String>,
    /// The user agent string from the user's browser.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub user_agent: Option<String>,
}