workos 1.0.0

Official Rust SDK for the WorkOS API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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 RevokeSession {
    /// The ID of the session to revoke. This can be extracted from the `sid` claim of the access token.
    pub session_id: String,
    /// The URL to redirect the user to after session revocation.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub return_to: Option<String>,
}