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};
/// OAuth tokens issued by the identity provider, if available.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SSOTokenResponseOAuthToken {
    /// The OAuth provider used for authentication.
    pub provider: String,
    /// The refresh token from the OAuth provider.
    pub refresh_token: crate::SecretString,
    /// The access token from the OAuth provider.
    pub access_token: crate::SecretString,
    /// The timestamp at which the access token expires.
    pub expires_at: i64,
    /// A list of OAuth scopes for which the access token is authorized.
    pub scopes: Vec<String>,
}