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

Method ActiveToken

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

Source from the content-addressed store, hash-verified

22// expiring token.
23type config interface {
24 ActiveToken(string) (string, string)
25 HostForAPIHost(string) (string, bool)
26}
27

Callers 12

refreshRunFunction · 0.65
Test_refreshRunFunction · 0.65
getTokenReadOnlyFunction · 0.65
AuthTokenWriteableFunction · 0.65
resolveCredentialFunction · 0.65
Test_logoutRun_nonttyFunction · 0.65
hasNoTokenFunction · 0.65
hasActiveTokenFunction · 0.65
requireOAuthTokenFunction · 0.65
getRunFunction · 0.65
AddAuthTokenHeaderFunction · 0.65

Implementers 1

AuthConfiginternal/config/config.go

Calls

no outgoing calls

Tested by 5

Test_refreshRunFunction · 0.52
Test_logoutRun_nonttyFunction · 0.52
hasNoTokenFunction · 0.52
hasActiveTokenFunction · 0.52