Skip to main content

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

1// Generated by atproto-codegen. Do not edit.
2//! Lexicon: com.atproto.server.getServiceAuth
3
4use serde::{Deserialize, Serialize};
5
6/// Get a signed token on behalf of the requesting DID for the requested service.
7/// XRPC Query: com.atproto.server.getServiceAuth
8#[derive(Debug, Clone, Serialize, Deserialize)]
9#[serde(rename_all = "camelCase")]
10pub struct Params {
11    pub aud: String,
12    #[serde(skip_serializing_if = "Option::is_none")]
13    pub exp: Option<i64>,
14    #[serde(skip_serializing_if = "Option::is_none")]
15    pub lxm: Option<String>,
16}
17
18#[derive(Debug, Clone, Serialize, Deserialize)]
19#[serde(rename_all = "camelCase")]
20pub struct Output {
21    pub token: String,
22}