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

Interface config

pkg/cmd/auth/gitcredential/helper.go:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16const tokenUser = "x-access-token"
17
18type config interface {
19 ActiveTokenWithRefresh(string) (gh.Credential, gh.RefreshStatus, error)
20 ActiveUser(string) (string, error)
21}
22
23type CredentialOptions struct {
24 IO *iostreams.IOStreams

Callers 2

newMockGitClientFunction · 0.50
NewCmdExtensionFunction · 0.50

Implementers 1

AuthConfiginternal/config/config.go

Calls

no outgoing calls

Tested by

no test coverage detected