HomePhabricator
Diffusion Comm a1bc42b9e40d

[lib][native][web] Expose identity API by using a context

Description

[lib][native][web] Expose identity API by using a context

Summary:
Create a context that exposes the API client and recreates it on every user change or token change. Simplify the client by avoiding a need to provide credentials on every call to the API.

Depends on D10449

https://linear.app/comm/issue/ENG-6404/move-identity-client-to-a-context

Test Plan: Checked if credentials are correctly provided to a client and if the proper context value is provided (on native and web).

Reviewers: inka, kamil, bartek, marcin, ashoat

Reviewed By: ashoat

Subscribers: ashoat

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

Details

Provenance
tomekAuthored on Jan 9 2024, 7:28 AM
Reviewer
ashoat
Differential Revision
D10584: [lib][native][web] Expose identity API by using a context
Parents
rCOMM90c438564d6d: [native] Expose get keyserver keys Identity RPC
Branches
Unknown
Tags
Unknown