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

Method HostForAPIHost

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

Source from the content-addressed store, hash-verified

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