integrationos_domain/domain/http/
mod.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq, Hash)]
4#[serde(rename_all = "camelCase")]
5pub struct Claims {
6 #[serde(rename = "_id")]
7 pub id: String,
8 pub email: String,
9 pub username: String,
10 pub user_key: String,
11 pub first_name: String,
12 pub last_name: String,
13 pub buildable_id: String,
14 pub container_id: String,
15 pub pointers: Vec<String>,
16 pub is_buildable_core: bool,
17 pub iat: i64,
18 pub exp: i64,
19 pub aud: String,
20 pub iss: String,
21}