HomePhabricator
Diffusion Comm a56b59339f70

[keyserver] add removeReservedUsername method to rust-node-addon

Description

[keyserver] add removeReservedUsername method to rust-node-addon

Summary:
Added an identity client method to call the removeReservedUsername RPC.
We will need to call this when an account is deleted on Ashoat's keyserver to keep the Identity service aware of which usernames should be reserved.

Depends on D8201

Test Plan: called this client method from keyserver.js with a signed message (signed by a hardcoded ed25519 key) and an existing reserved username and saw that the DDB table was updated

Reviewers: jon, bartek

Reviewed By: jon, bartek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8202

Details

Provenance
varunAuthored on Jun 13 2023, 10:10 PM
Reviewer
jon
Differential Revision
D8202: [keyserver] add removeReservedUsername method to rust-node-addon
Parents
rCOMM32518a2bb167: [keyserver] add addReservedUsername method to rust-node-addon
Branches
Unknown
Tags
Unknown