MCPcopy Create free account
hub / github.com/cloudfoundry/cli / IsLoggedIn

Method IsLoggedIn

actor/sharedaction/auth.go:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13func (a DefaultAuthActor) IsLoggedIn() bool {
14 return a.config.AccessToken() != "" || a.config.RefreshToken() != ""
15}
16
17type K8sAuthActor struct {
18 config Config

Callers

nothing calls this directly

Calls 2

AccessTokenMethod · 0.65
RefreshTokenMethod · 0.65

Tested by

no test coverage detected