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

Method HostForAPIHost

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

Source from the content-addressed store, hash-verified

23type config interface {
24 ActiveToken(string) (string, string)
25 HostForAPIHost(string) (string, bool)
26}
27
28// 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