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)
Sat, Nov 23, 6:08 PM
Unknown Object (File)
Fri, Nov 22, 4:43 AM
Unknown Object (File)
Thu, Nov 21, 10:13 PM
Unknown Object (File)
Thu, Nov 21, 1:59 AM
Unknown Object (File)
Fri, Nov 8, 10:36 PM
Unknown Object (File)
Fri, Nov 8, 1:29 PM
Unknown Object (File)
Fri, Nov 8, 12:24 PM
Unknown Object (File)
Oct 22 2024, 1:17 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 ↗(On Diff #41695)

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