MCPcopy Create free account
hub / github.com/cli/cli / ExpiringCredentials

Method ExpiringCredentials

internal/gh/gh.go:65–65  ·  view source on GitHub ↗

ExpiringCredentials returns the configured expiring_credentials setting, optionally scoped by host.

(hostname string)

Source from the content-addressed store, hash-verified

63 PreferEditorPrompt(hostname string) ConfigEntry
64 // ExpiringCredentials returns the configured expiring_credentials setting, optionally scoped by host.
65 ExpiringCredentials(hostname string) ConfigEntry
66 // Spinner returns the configured spinner setting, optionally scoped by host.
67 Spinner(hostname string) ConfigEntry
68 // Telemetry returns the configured telemetry setting, ignoring host scoping since telemetry is a global setting.

Callers 2

ShouldUseExpiringFunction · 0.65
config.goFile · 0.65

Implementers 2

cfginternal/config/config.go
ConfigMockinternal/gh/mock/config.go

Calls

no outgoing calls

Tested by

no test coverage detected