MCPcopy Create free account
hub / github.com/basecamp/hey-cli / Store

Struct Store

internal/auth/store.go:27–32  ·  view source on GitHub ↗

Store handles credential storage, preferring system keychain.

Source from the content-addressed store, hash-verified

25
26// Credentials holds OAuth tokens and metadata.
27type Credentials struct {
28 AccessToken string `json:"access_token"` //nolint:gosec // G117: legitimate credential field
29 RefreshToken string `json:"refresh_token"` //nolint:gosec // G117: legitimate credential field
30 ExpiresAt int64 `json:"expires_at"`
31 OAuthType string `json:"oauth_type"`
32 TokenEndpoint string `json:"token_endpoint"`
33 SessionCookie string `json:"session_cookie,omitempty"`
34}
35

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected