MCPcopy Create free account
hub / github.com/cli/cli / Login

Method Login

pkg/cmd/auth/shared/login_flow_test.go:53–55  ·  view source on GitHub ↗
(string, string, string, string, bool)

Source from the content-addressed store, hash-verified

51type failingStorageConfig struct{ tinyConfig }
52
53func (failingStorageConfig) Login(string, string, string, string, bool) (bool, error) {
54 return false, errors.New("storage failed")
55}
56
57func (failingStorageConfig) LoginRefreshable(string, string, gh.Credential, string, bool) (bool, error) {
58 return false, errors.New("storage failed")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected