1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: app.ocho.auth.defs
4//
5// This file was automatically generated from Lexicon schemas.
6// Any manual changes will be overwritten on the next regeneration.
7
8pub mod at_proto_callback;
9pub mod authorize;
10pub mod github_callback;
11pub mod google_callback;
12pub mod request_email_update;
13pub mod update_email;
14pub mod update_handle;
15pub mod whoami;
16
17#[jacquard_derive::lexicon]
18#[derive(
19 serde::Serialize,
20 serde::Deserialize,
21 Debug,
22 Clone,
23 PartialEq,
24 Eq,
25 jacquard_derive::IntoStatic,
26 bon::Builder
27)]
28#[serde(rename_all = "camelCase")]
29pub struct AuthCallback<'a> {
30 #[serde(borrow)]
31 #[builder(into)]
32 pub access_jwt: jacquard_common::CowStr<'a>,
33 #[serde(borrow)]
34 pub did: jacquard_common::types::string::Did<'a>,
35 #[serde(borrow)]
36 #[builder(into)]
37 pub handle: jacquard_common::CowStr<'a>,
38 #[serde(borrow)]
39 #[builder(into)]
40 pub refresh_jwt: jacquard_common::CowStr<'a>,
41}