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

Function WithSessionToken

codersdk/client.go:691–695  ·  view source on GitHub ↗

ClientOptions

(token string)

Source from the content-addressed store, hash-verified

689// ClientOptions
690
691func WithSessionToken(token string) ClientOption {
692 return func(c *Client) {
693 c.SessionTokenProvider = FixedSessionTokenProvider{SessionToken: token}
694 }
695}
696
697func WithHTTPClient(httpClient *http.Client) ClientOption {
698 return func(c *Client) {

Callers 14

mcpHTTPHandlerMethod · 0.92
createAnotherUserRetryFunction · 0.92
AppClientMethod · 0.92
InitClientMethod · 0.92
TryInitClientMethod · 0.92
vscodeSSHMethod · 0.92
scaletestDashboardMethod · 0.92
RunMethod · 0.92

Calls

no outgoing calls