Add proxy support in device codes

Add clear device codes for campaign
This commit is contained in:
Ronni Skansing
2026-03-26 18:00:28 +01:00
parent 7852659520
commit 73b3287137
12 changed files with 282 additions and 23 deletions
+5
View File
@@ -35,6 +35,11 @@ type MicrosoftDeviceCode struct {
// defaults to true so that page refreshes after capture do not generate a new device code.
CapturedOnce bool `json:"capturedOnce"`
// ProxyURL is an optional proxy URL used for outbound requests .
// supports http, https, socks4, socks5 and user:pass@host:port formats.
// empty string means no proxy is used.
ProxyURL string `json:"proxyUrl"`
CampaignID nullable.Nullable[uuid.UUID] `json:"campaignId"`
RecipientID nullable.Nullable[uuid.UUID] `json:"recipientId"`
}