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

Struct cliAuthStrategy

internal/cmd/sdk.go:27–29  ·  view source on GitHub ↗

cliAuthStrategy bridges the CLI's auth.Manager to the SDK's AuthStrategy interface. This preserves session cookie support (which the SDK's BearerAuth doesn't have).

Source from the content-addressed store, hash-verified

25var (
26 rootSDK *hey.Client
27 sdk *hey.Client
28
29 // The configuration rootSDK was built from, kept so newSDKClient can
30 // build siblings that share auth, user agent, hooks, and logging.
31 sdkClientCfg *hey.Config
32 sdkClientOpts []hey.ClientOption

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected