Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ HasActiveToken
Method
HasActiveToken
pkg/cmd/attestation/trustedroot/trustedroot_test.go:216–218 ·
view source on GitHub ↗
(host string)
Source
from the content-addressed store, hash-verified
214
var
_ gh.AuthConfig = (*stubAuthConfig)(nil)
215
216
func
(c *stubAuthConfig) HasActiveToken(host string) bool {
217
return
c.hasActiveToken
218
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected