Page MenuHomePhabricator

[keyserver][lib] Plumbing for new exact user search endpoint
ClosedPublic

Authored by ashoat on May 18 2023, 1:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 12:15 AM
Unknown Object (File)
Mon, Nov 25, 11:06 PM
Unknown Object (File)
Nov 22 2024, 1:44 PM
Unknown Object (File)
Nov 22 2024, 1:31 PM
Unknown Object (File)
Nov 14 2024, 11:24 AM
Unknown Object (File)
Nov 14 2024, 11:24 AM
Unknown Object (File)
Nov 14 2024, 11:24 AM
Unknown Object (File)
Nov 14 2024, 11:24 AM
Subscribers

Details

Summary

We want to be able to query whether a username exists in order to decide whether to show this screen.

In the case where the ETH wallet already has an account, we'll let them log in directly and (potentially?) skip the avatar-setting step.

This diff:

  1. Introduces new types for the input and output of the new endpoint
  2. Updates the endpoints types and adds plumbing for the endpoint on the keyserver side
  3. Introduces a new action and associated types in lib
  4. Introduces a callsite in ConnectEthereum for the new endpoint

Depends on D7864

Test Plan

I added a console.log of the result on native, and confirmed an already-existing ETH account properly returned the existing userInfo

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable