HomePhabricator
Diffusion Comm 73cd11959193

[lib] introduce Tunnelbroker device token handler

Description

[lib] introduce Tunnelbroker device token handler

Summary:
ENG-8400.

Handler which updates Tunnelbroker device token using socket connection.

Depends on D12537, D12524

Test Plan:
Tested both web and native:

  1. Login.
  2. Opening & closing app / refreshing app.
  3. Manually changing device token to make sure this is triggered and executed only once.
  4. Tested case when user logs out, Identity log out fails (D12525 is not executed), and then when user logs in device token is assigned only to the new deviceID (assuming device token did not change).

Reviewers: bartek, marcin, inka

Reviewed By: inka

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D12538

Details

Provenance
kamilAuthored on Jun 21 2024, 2:44 AM
Reviewer
inka
Differential Revision
D12538: [lib] introduce Tunnelbroker device token handler
Parents
rCOMM73de39c5d7e6: [terraform] Deploy Identity 0.28 to staging
Branches
Unknown
Tags
Unknown