HomePhabricator
Diffusion Comm 64a3f6e4ac90

[services][identity] register_user RPC

Description

[services][identity] register_user RPC

Summary: Implementation of the register_user RPC. We only need to do this for PAKE -- there is no registration process for wallet auth. The bulk of the logic is performed in the subroutines. This function handles updating some state and sending messages to the outbound stream.

Test Plan: called the RPC and tested all failure cases as well as the success case. subsequently tried logging in and received a new access token

Reviewers: jimpo, palys-swm, karol-bisztyga

Reviewed By: palys-swm

Subscribers: ashoat, Adrian, atul, yayabosh

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

Details

Provenance
varunAuthored on Jun 27 2022, 12:50 AM
Reviewer
tomek
Differential Revision
D4363: [services][identity] register_user RPC
Parents
rCOMM746fe08b954a: [services][identity] pake registration finish helper
Branches
Unknown
Tags
Unknown