Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ AuthToken
Method
AuthToken
pkg/cmd/auth/shared/prompt.go:7–7 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
Confirm(string, bool) (bool, error)
6
InputHostname() (string, error)
7
AuthToken() (string, error)
8
Input(string, string) (string, error)
9
Password(string) (string, error)
10
}
Callers
2
Login
Function · 0.65
runAuthToken
Function · 0.65
Implementers
4
PrompterMock
internal/prompter/prompter_mock.go
huhPrompter
internal/prompter/huh_prompter.go
accessiblePrompter
internal/prompter/prompter.go
surveyPrompter
internal/prompter/prompter.go
Calls
no outgoing calls
Tested by
no test coverage detected