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

Function loginRefreshable

pkg/cmd/auth/token/token_test.go:505–508  ·  view source on GitHub ↗
(t *testing.T, c gh.Config, hostname, username, accessToken, refreshToken string, secureStorage bool)

Source from the content-addressed store, hash-verified

503}
504
505func loginRefreshable(t *testing.T, c gh.Config, hostname, username, accessToken, refreshToken string, secureStorage bool) {
506 t.Helper()
507 loginRefreshableWithExpiry(t, c, hostname, username, accessToken, refreshToken, secureStorage, nil)
508}
509
510func loginRefreshableWithExpiry(t *testing.T, c gh.Config, hostname, username, accessToken, refreshToken string, secureStorage bool, expiresAt *time.Time) {
511 t.Helper()

Callers 2

TestTokenRunFunction · 0.70

Calls 2

HelperMethod · 0.65

Tested by

no test coverage detected