MCPcopy Create free account
hub / github.com/celzero/firestack / updateDidTokenIfNeeded

Function updateDidTokenIfNeeded

intra/ipn/rpn/yegor.go:1419–1428  ·  view source on GitHub ↗

updateDidTokenIfNeeded reads didTokenHeader from the response, logs its expiry, and – when it differs from ent.DidToken – overwrites it in ent.

(ent *WsEntitlement, res *http.Response)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

getSessionFunction · 0.85
getServerListFunction · 0.85
initAndConnectCredsFunction · 0.85
listKeysFunction · 0.85
getDNSFiltersFunction · 0.85
setDNSFilterFunction · 0.85
createPermaCredsFunction · 0.85

Calls 2

logDidTokenFunction · 0.85
GetMethod · 0.65

Tested by

no test coverage detected