Skip to main content

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

1// Generated by atproto-codegen. Do not edit.
2//! Lexicon: com.atproto.server.reserveSigningKey
3
4use serde::{Deserialize, Serialize};
5
6/// Reserve a repo signing key, for use with account creation. Necessary so that a DID PLC update operation can be constructed during an account migraiton. Public and does not require auth; implemented by PDS. NOTE: this endpoint may change when full account migration is implemented.
7/// XRPC Procedure: com.atproto.server.reserveSigningKey
8#[derive(Debug, Clone, Serialize, Deserialize)]
9#[serde(rename_all = "camelCase")]
10pub struct Input {
11    #[serde(skip_serializing_if = "Option::is_none")]
12    pub did: Option<String>,
13}
14
15#[derive(Debug, Clone, Serialize, Deserialize)]
16#[serde(rename_all = "camelCase")]
17pub struct Output {
18    pub signing_key: String,
19}