HomePhabricator
Diffusion Comm ad2dea6d9aec

[services] Tunnelbroker - Updating Protobuf with new token request and token…

Description

[services] Tunnelbroker - Updating Protobuf with new token request and token update

Summary:
This diff introduces the following updates to the protobuf file:

  • newNotifyTokenRequired of oneof protobuf request to the client to request the new notification token from the client.
  • An optional newNotifyToken field to get the new notification token from the client.

In case of the client has an expired or wrong notification token we will send a newNotifyTokenRequired message to the client and will expect that he will re-request the Get gRPC request with the newNotifyToken and the token will be updated in the database.

Related Linear task: ENG-1816

Test Plan: No tests this is a protobuf change.

Reviewers: jon, tomek, ashoat

Reviewed By: jon, tomek, ashoat

Subscribers: ashoat, tomek, atul, abosh

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