HomePhabricator
Diffusion Comm fa756c93c57b

[lib][native][web] Add LogOutSecondaryDevice RPC to identity client

Description

[lib][native][web] Add LogOutSecondaryDevice RPC to identity client

Summary:
Added LogOutSecondaryDevice to Identity client on web and native.
The RPC is described in ENG-5293 as a part of the "CSAT invalidation flow".

Depends on D12121

Test Plan:

  • Registered a user (Identity-auto created device list with primary device).
  • Logged in with a second device (secondary device added to the list)
  • Called the RPC on the secondary device
    • Confirmed that CSAT as well as device keys were cleared by viewing DDB tables
    • Confirmed that the device ID still exists on the device list

Reviewers: varun, kamil, will

Reviewed By: kamil

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on May 20 2024, 5:44 AM
Reviewer
kamil
Differential Revision
D12122: [lib][native][web] Add LogOutSecondaryDevice RPC to identity client
Parents
rCOMMfa8a90e2267f: [native] Expose LogOutSecondaryDevice RPC via JSI
Branches
Unknown
Tags
Unknown