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, Nov 18, 5:39 PM
Unknown Object (File)
Fri, Nov 8, 10:36 PM
Unknown Object (File)
Fri, Nov 8, 1:30 PM
Unknown Object (File)
Fri, Nov 8, 12:23 PM
Unknown Object (File)
Fri, Nov 8, 12:23 PM
Unknown Object (File)
Fri, Nov 8, 12:23 PM
Unknown Object (File)
Tue, Nov 5, 3:07 AM
Unknown Object (File)
Oct 5 2024, 3:26 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