Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ ActiveUser
Method
ActiveUser
pkg/cmd/auth/gitcredential/helper.go:18–18 ·
view source on GitHub ↗
(string)
Source
from the content-addressed store, hash-verified
16
type
config
interface
{
17
ActiveToken(string) (string, string)
18
ActiveUser(string) (string, error)
19
}
20
21
type
CredentialOptions
struct
{
Callers
7
helperRun
Function · 0.65
TestSwitchRun
Function · 0.65
switchRun
Function · 0.65
refreshRun
Function · 0.65
Test_refreshRun
Function · 0.65
statusRun
Function · 0.65
logoutRun
Function · 0.65
Implementers
1
AuthConfig
internal/config/config.go
Calls
no outgoing calls
Tested by
2
TestSwitchRun
Function · 0.52
Test_refreshRun
Function · 0.52