Skip to main content

proto_blue_api/generated/com/atproto/server/
refreshSession.rs

1// Generated by atproto-codegen. Do not edit.
2//! Lexicon: com.atproto.server.refreshSession
3
4use serde::{Deserialize, Serialize};
5
6/// Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').
7/// XRPC Procedure: com.atproto.server.refreshSession
8#[derive(Debug, Clone, Serialize, Deserialize)]
9#[serde(rename_all = "camelCase")]
10pub struct Output {
11    pub access_jwt: String,
12    #[serde(skip_serializing_if = "Option::is_none")]
13    pub active: Option<bool>,
14    pub did: String,
15    #[serde(skip_serializing_if = "Option::is_none")]
16    pub did_doc: Option<serde_json::Value>,
17    #[serde(skip_serializing_if = "Option::is_none")]
18    pub email: Option<String>,
19    #[serde(skip_serializing_if = "Option::is_none")]
20    pub email_auth_factor: Option<bool>,
21    #[serde(skip_serializing_if = "Option::is_none")]
22    pub email_confirmed: Option<bool>,
23    pub handle: String,
24    pub refresh_jwt: String,
25    #[serde(skip_serializing_if = "Option::is_none")]
26    pub status: Option<String>,
27}