Page MenuHomePhabricator

[lib][native] Add logOutPrimaryDevice to Identity Client
ClosedPublic

Authored by bartek on Jun 27 2024, 7:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 5, 3:26 PM
Unknown Object (File)
Sep 25 2024, 9:33 PM
Unknown Object (File)
Sep 25 2024, 9:33 PM
Unknown Object (File)
Sep 25 2024, 9:33 PM
Unknown Object (File)
Sep 25 2024, 9:32 PM
Unknown Object (File)
Sep 25 2024, 9:32 PM
Unknown Object (File)
Aug 27 2024, 12:25 AM
Unknown Object (File)
Aug 26 2024, 3:21 PM
Subscribers

Details

Summary

Added logOutPrimaryDevice function to identity client context.
Similarly to e.g. registerPasswordUser, it creates singleton device list on its own.

Renamed createInitialDeviceList to createSingletonDeviceList - this name is more universal.
It can be also re-used during backup restore.

Depends on D12585

Test Plan

Tested against local identity. Confirmed that when identityClient.logOutPrimaryDevice() is called,
identity service receives valid device list payload.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Jun 27 2024, 8:34 AM
This revision is now accepted and ready to land.Jul 1 2024, 3:14 AM