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

Method ActiveTokenWithRefresh

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

Source from the content-addressed store, hash-verified

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

Callers 1

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected