MCPcopy Index your code
hub / github.com/coder/coder / Write

Method Write

cli/sessionstore/sessionstore.go:31–31  ·  view source on GitHub ↗

Write stores the session token for the given server URL.

(serverURL *url.URL, token string)

Source from the content-addressed store, hash-verified

29 Read(serverURL *url.URL) (string, error)
30 // Write stores the session token for the given server URL.
31 Write(serverURL *url.URL, token string) error
32 // Delete removes the session token for the given server URL or an error, if any.
33 // It will return os.ErrNotExist error if no token exists to delete.
34 Delete(serverURL *url.URL) error

Callers 15

TestUserLatencyInsightsFunction · 0.65
TestExternalAuthDeviceFunction · 0.65
TestExternalAuthCallbackFunction · 0.65
NewFunction · 0.65
computeKeysHashFunction · 0.65
fileByIDMethod · 0.65
TestMCPServerOAuth2PKCEFunction · 0.65
debugCollectProfileMethod · 0.65

Calls

no outgoing calls