comAtprotoServerResetPassword function
Reset a user account password using a token.
Implementation
Future<XRPCResponse<EmptyData>> comAtprotoServerResetPassword({
required String token,
required String password,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.comAtprotoServerResetPassword,
headers: {'Content-type': 'application/json', ...?$headers},
body: {...?$unknown, 'token': token, 'password': password},
);