Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
16
type
config
interface
{
17
ActiveToken(string) (string, string)
18
ActiveUser(string) (string, error)
19
}
20
Callers
11
helperRun
Function · 0.65
refreshRun
Function · 0.65
Test_refreshRun
Function · 0.65
tokenRun
Function · 0.65
AuthTokenWriteable
Function · 0.65
statusRun
Function · 0.65
hasNoToken
Function · 0.65
hasActiveToken
Function · 0.65
requireOAuthToken
Function · 0.65
CapiClientFunc
Function · 0.65
getRun
Function · 0.65
Implementers
1
AuthConfig
internal/config/config.go
Calls
no outgoing calls
Tested by
3
Test_refreshRun
Function · 0.52
hasNoToken
Function · 0.52
hasActiveToken
Function · 0.52