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)
Mon, Dec 23, 3:27 PM
Unknown Object (File)
Mon, Dec 23, 3:27 PM
Unknown Object (File)
Mon, Dec 23, 3:27 PM
Unknown Object (File)
Mon, Dec 23, 3:27 PM
Unknown Object (File)
Mon, Dec 23, 3:27 PM
Unknown Object (File)
Wed, Dec 18, 10:37 PM
Unknown Object (File)
Tue, Dec 3, 12:25 PM
Unknown Object (File)
Thu, Nov 28, 8:18 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
No Lint Coverage
Unit
No Test Coverage

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