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

Struct cfg

internal/authflow/flow.go:148–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148type cfg struct {
149 token string
150}
151
152func (c cfg) ActiveTokenWithRefresh(hostname string) (gh.Credential, gh.RefreshStatus, error) {
153 return gh.Credential{Token: c.token}, gh.RefreshStatusInapplicable, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected