HomePhabricator
Diffusion Comm d08814a1fa29

[keyserver] Introduce sendMessagesOnAccountCreation

Description

[keyserver] Introduce sendMessagesOnAccountCreation

Summary:
This diff does two things:

  1. Rename processAccountCreationCommon to sendMessagesOnAccountCreation to more accurately reflect its newly reduced scope
  2. Update it to return the list of rawMessageInfos so that it can be used from createAccount (legacy registration endpoint)

I decided to do this while working on ENG-8101, but it doesn't directly address that issue.

Test Plan:

  1. I tested account creation via keyserver auth in a multi-keyserver environment
  2. I tested legacy account creation in a legacy environment

Reviewers: inka

Reviewed By: inka

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on May 14 2024, 2:51 PM
Reviewer
inka
Differential Revision
D12038: [keyserver] Introduce sendMessagesOnAccountCreation
Parents
rCOMM56d9a3f1c200: [keyserver] Use endpointValidators in keyserve code
Branches
Unknown
Tags
Unknown