HomePhabricator
Diffusion Comm cf79e85283ea

[lib] Add validator support for 'Unauthenticated' Tunnelbroker message

Description

[lib] Add validator support for 'Unauthenticated' Tunnelbroker message

Summary:
Addresses ENG-8394.
The Unauthenticated enum variant was missing in client-side validator.

Added a comment to keep that in sync.

Test Plan:

  1. Hardcoded setUnauthorizedDeviceID(not-null-value) to keep Tunnelbroker connection anonymous.
  2. Called tunnelbrokerContext.sendMessage()
  3. Verified that invalid TunnelbrokerMessage is no longer occuring

Reviewers: kamil, ashoat

Reviewed By: kamil

Subscribers: tomek

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

Details

Provenance
bartekAuthored on Jun 13 2024, 2:39 AM
Reviewer
kamil
Differential Revision
D12418: [lib] Add validator support for 'Unauthenticated' Tunnelbroker message
Parents
rCOMMc3d2084fa2df: [lib] broadcast device list updates after secondary device logout
Branches
Unknown
Tags
Unknown