reserveSigningKey method
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.
https://atprotodart.com/docs/lexicons/com/atproto/server/reserveSigningKey
Implementation
Future<XRPCResponse<ReserveSigningKeyOutput>> reserveSigningKey({
String? did,
Map<String, String>? $unknown,
Map<String, String>? $headers,
PostClient? $client,
}) async =>
await _ctx.post<ReserveSigningKeyOutput>(
ns.comAtprotoServerReserveSigningKey,
headers: $headers,
body: {
if (did != null) 'did': did,
...?$unknown,
},
to: const ReserveSigningKeyOutputConverter().fromJson,
client: $client,
);