MCPcopy 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

18type config interface {
19 ActiveTokenWithRefresh(string) (gh.Credential, gh.RefreshStatus, error)
20 ActiveUser(string) (string, error)
21}
22
23type CredentialOptions struct {

Callers 8

helperRunFunction · 0.65
TestSwitchRunFunction · 0.65
switchRunFunction · 0.65
refreshRunFunction · 0.65
Test_refreshRunFunction · 0.65
resolveUsernameFunction · 0.65
statusRunFunction · 0.65
logoutRunFunction · 0.65

Implementers 1

AuthConfiginternal/config/config.go

Calls

no outgoing calls

Tested by 2

TestSwitchRunFunction · 0.52
Test_refreshRunFunction · 0.52