Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ ActiveUser
Method
ActiveUser
pkg/cmd/auth/gitcredential/helper.go:20–20 ·
view source on GitHub ↗
(string)
Source
from the content-addressed store, hash-verified
18
type
config
interface
{
19
ActiveTokenWithRefresh(string) (gh.Credential, gh.RefreshStatus, error)
20
ActiveUser(string) (string, error)
21
}
22
23
type
CredentialOptions
struct
{
Callers
8
helperRun
Function · 0.65
TestSwitchRun
Function · 0.65
switchRun
Function · 0.65
refreshRun
Function · 0.65
Test_refreshRun
Function · 0.65
resolveUsername
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