MCPcopy Index your code
hub / github.com/cli/cli / ActiveToken

Method ActiveToken

pkg/cmd/auth/gitcredential/helper.go:17–17  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

15
16type config interface {
17 ActiveToken(string) (string, string)
18 ActiveUser(string) (string, error)
19}
20

Callers 11

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

Implementers 1

AuthConfiginternal/config/config.go

Calls

no outgoing calls

Tested by 3

Test_refreshRunFunction · 0.52
hasNoTokenFunction · 0.52
hasActiveTokenFunction · 0.52