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

Struct cfg

internal/authflow/flow.go:135–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135type cfg struct {
136 token string
137}
138
139func (c cfg) ActiveTokenWithRefresh(hostname string) (gh.Credential, gh.RefreshStatus, error) {
140 return gh.Credential{Token: c.token}, gh.RefreshStatusInapplicable, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected