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

Method GetSessionToken

codersdk/credentials.go:17–17  ·  view source on GitHub ↗

GetSessionToken returns the session token as a string.

()

Source from the content-addressed store, hash-verified

15 SetDialOption(options *websocket.DialOptions)
16 // GetSessionToken returns the session token as a string.
17 GetSessionToken() string
18}
19
20// FixedSessionTokenProvider provides a given, fixed, session token. E.g. one read from file or environment variable

Callers 3

SessionTokenMethod · 0.65
updateCommandEnvMethod · 0.65

Implementers 4

FixedSessionTokenProvidercodersdk/credentials.go
InstanceIdentitySessionTokenProvidercodersdk/agentsdk/agentsdk.go
cookieOnlySessionTokenProviderenterprise/coderd/exp_chats_test.go
Clientagent/agenttest/client.go

Calls

no outgoing calls

Tested by 1