Page MenuHomePhabricator

[protos][identity] Add LogOutPrimaryDevice RPC
ClosedPublic

Authored by bartek on Jun 25 2024, 4:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 23, 3:13 PM
Unknown Object (File)
Mon, Dec 23, 3:13 PM
Unknown Object (File)
Mon, Dec 23, 3:13 PM
Unknown Object (File)
Mon, Dec 23, 3:12 PM
Unknown Object (File)
Mon, Dec 23, 3:12 PM
Unknown Object (File)
Fri, Dec 20, 2:11 PM
Unknown Object (File)
Tue, Dec 17, 11:46 PM
Unknown Object (File)
Fri, Dec 6, 7:40 PM
Subscribers

Details

Summary

ENG-7876.
Adding RPC that is going to be called by primary device to log out the primary device and all other user's devices.
It is going to invalidate CSAT for all of them.

It requires signed device list as an input - primary device logout will result in device list being replaced by a singleton of the primary device being logged out.

Test Plan

Identity and flow compiles. RPC implementation will be added in later diffs

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 25 2024, 7:02 AM
ashoat added inline comments.
shared/protos/identity_auth.proto
215

Can we modify this as follows?

// When the primary device logs out, it removes all secondary devices from
// the device list, and sends up a new singleton device list consisting of
// just itself.
This revision is now accepted and ready to land.Jul 1 2024, 9:53 AM