Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
17
type
config
interface
{
18
ActiveToken(string) (string, string)
19
HostForAPIHost(string) (string, bool)
20
}
21
Callers
12
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
AddAuthTokenHeader
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