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
16
17
18
// 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 TokenQuery {
    /// The client ID of the WorkOS environment.
    pub client_id: String,
    /// The client secret of the WorkOS environment.
    pub client_secret: crate::SecretString,
    /// The authorization code received from the authorization callback.
    pub code: String,
    /// The grant type for the token request.
    pub grant_type: String,
}