Page MenuHomePhabricator

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

Authored by bartek on Jun 27 2024, 7:18 AM.
Tags
None
Referenced Files
F3362109: D12586.id.diff
Sun, Nov 24, 9:27 PM
Unknown Object (File)
Fri, Nov 22, 12:42 AM
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
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