MCPcopy Create free account
hub / github.com/coder/coder / SessionToken

Method SessionToken

enterprise/wsproxy/wsproxysdk/wsproxysdk.go:64–66  ·  view source on GitHub ↗

SessionToken returns the currently set token for the client.

()

Source from the content-addressed store, hash-verified

62
63// SessionToken returns the currently set token for the client.
64func (c *Client) SessionToken() string {
65 return c.SDKClient.SessionToken()
66}
67
68// Request wraps the underlying codersdk.Client's Request method.
69func (c *Client) Request(ctx context.Context, method, path string, body interface{}, opts ...codersdk.RequestOption) (*http.Response, error) {

Callers 14

TestChatStreamRelayFunction · 0.45
TestIssueSignedAppTokenFunction · 0.45
TestGetCryptoKeysFunction · 0.45
TestReplicasFunction · 0.45
TestGetProvisionerKeyFunction · 0.45
TestAIBridgeRoutingFunction · 0.45
TestAIBridgeRateLimitingFunction · 0.45
TestAIBridgeAllowBYOKFunction · 0.45

Calls

no outgoing calls

Tested by 14

TestChatStreamRelayFunction · 0.36
TestIssueSignedAppTokenFunction · 0.36
TestGetCryptoKeysFunction · 0.36
TestReplicasFunction · 0.36
TestGetProvisionerKeyFunction · 0.36
TestAIBridgeRoutingFunction · 0.36
TestAIBridgeRateLimitingFunction · 0.36
TestAIBridgeAllowBYOKFunction · 0.36