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

Method ActiveTokenWithRefresh

api/http_client.go:31–31  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

29// strings so the resolved token and its refresh metadata travel together.
30type refreshingConfig interface {
31 ActiveTokenWithRefresh(string) (auth.Credential, auth.RefreshStatus, error)
32 HostForAPIHost(string) (string, bool)
33}
34

Callers 1

Implementers 2

cfginternal/authflow/flow.go
AuthConfiginternal/config/config.go

Calls

no outgoing calls

Tested by

no test coverage detected