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
// 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 UserManagementLoginRequest {
    /// Identifier provided when AuthKit redirected to your login page.
    pub external_auth_id: String,
    /// The user to create or update in AuthKit.
    pub user: UserObject,
    /// Array of [User Consent Options](https://workos.com/docs/reference/workos-connect/standalone/user-consent-options) to store with the session.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub user_consent_options: Option<Vec<UserConsentOption>>,
}