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

Method HostForAPIHost

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

Source from the content-addressed store, hash-verified

22type config interface {
23 ActiveToken(string) (string, string)
24 HostForAPIHost(string) (string, bool)
25}
26
27// refreshingConfig is a refresh-aware token source. It can renew a near-expiry token before a request and

Callers 2

AddAuthTokenHeaderFunction · 0.65

Implementers 1

AuthConfiginternal/config/config.go

Calls

no outgoing calls

Tested by

no test coverage detected