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

Method ActiveToken

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

Source from the content-addressed store, hash-verified

16
17type config interface {
18 ActiveToken(string) (string, string)
19 HostForAPIHost(string) (string, bool)
20}
21

Callers 12

helperRunFunction · 0.65
refreshRunFunction · 0.65
Test_refreshRunFunction · 0.65
tokenRunFunction · 0.65
AuthTokenWriteableFunction · 0.65
statusRunFunction · 0.65
hasNoTokenFunction · 0.65
hasActiveTokenFunction · 0.65
requireOAuthTokenFunction · 0.65
CapiClientFuncFunction · 0.65
getRunFunction · 0.65
AddAuthTokenHeaderFunction · 0.65

Implementers 1

AuthConfiginternal/config/config.go

Calls

no outgoing calls

Tested by 3

Test_refreshRunFunction · 0.52
hasNoTokenFunction · 0.52
hasActiveTokenFunction · 0.52