omni::telemetry::kTelemetryAuthTokenExpiryNameSettingLeaf

Defined in omni/structuredlog/Telemetry.h

constexpr const char *const omni::telemetry::kTelemetryAuthTokenExpiryNameSettingLeaf = "authTokenExpiryName"

This setting is an optional member of the kTransmitterSetting object.

This specifies the name of the key in the downloaded authentication token’s JSON data that contains the optional expiry date for the token. This option will be ignored if kTelemetryAuthenticateSettingLeaf is false.If this property exists, it will be used to predict when the token should be retrieved again. If this property does not exist, the token will only be retrieved again if sending a message results in a failure due to a permission error. This property is expected to be string data in the JSON file. Its contents must be formatted as an RFC3339 date/time string. This defaults to “expires”.