HomePhabricator
Diffusion Comm cb7ce2c434a0

[identity] GetSessionInitializationInfo RPC

Description

[identity] GetSessionInitializationInfo RPC

Summary:
clients will call this RPC with a user ID and get in response a map of session initialization info (public keys, social proof, etc.) it needs, keyed by the device's ed25119 signing public key.

adding @ashoat to OK the API design

Test Plan: called this RPC from the keyserver and got back the test data i created in DDB. also tested the failure case with an invalid user ID and got back an exception in JS.

Reviewers: jon, tomek, bartek, ashoat

Reviewed By: ashoat

Subscribers: marcin, atul, ashoat

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

Details

Provenance
varunAuthored on Feb 27 2023, 2:33 PM
Reviewer
ashoat
Differential Revision
D6904: [identity] GetSessionInitializationInfo RPC
Parents
rCOMM24e4d190406e: [identity] db client method to get session initialization info
Branches
Unknown
Tags
Unknown