confirmEmail method
Confirm an email using a token from com.atproto.server.requestEmailConfirmation.
https://atprotodart.com/docs/lexicons/com/atproto/server/confirmEmail
Implementation
Future<XRPCResponse<EmptyData>> confirmEmail({
required String email,
required String token,
Map<String, String>? $unknown,
Map<String, String>? $headers,
PostClient? $client,
}) async =>
await _ctx.post<EmptyData>(
ns.comAtprotoServerConfirmEmail,
headers: $headers,
body: {
'email': email,
'token': token,
...?$unknown,
},
client: $client,
);