MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / CheckSession

Method CheckSession

internal/cli/client.go:1071–1074  ·  view source on GitHub ↗

CheckSession returns the current auth status.

()

Source from the content-addressed store, hash-verified

1069
1070// CheckSession returns the current auth status.
1071func (c *Client) CheckSession() (*SessionResponse, error) {
1072 var result SessionResponse
1073 return &result, c.get("/auth/session", &result)
1074}
1075
1076// --- Audit Log ---
1077

Callers 7

RunBrowserBootstrapFunction · 0.80
pollUntilSetupDoneFunction · 0.80
setupCmdFunction · 0.80
loginCmdFunction · 0.80
initCmdFunction · 0.80
collectServerInfoFunction · 0.80
padInitCmdFunction · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected