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

Method ActiveToken

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

Source from the content-addressed store, hash-verified

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

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