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

Struct CLIAuthSessionResponse

internal/cli/client.go:983–987  ·  view source on GitHub ↗

CLIAuthSessionResponse is the response from POST /auth/cli/sessions.

Source from the content-addressed store, hash-verified

981
982// CLIAuthSessionResponse is the response from POST /auth/cli/sessions.
983type CLIAuthSessionResponse struct {
984 SessionCode string `json:"session_code"`
985 AuthURL string `json:"auth_url"`
986 ExpiresAt string `json:"expires_at"`
987}
988
989// CLIAuthSessionStatus is the response from GET /auth/cli/sessions/{code}.
990type CLIAuthSessionStatus struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected