MCPcopy Create free account
hub / github.com/cloudfoundry/credhub-cli / TokenIsPresent

Function TokenIsPresent

util/token.go:3–5  ·  view source on GitHub ↗
(token string)

Source from the content-addressed store, hash-verified

1package util
2
3func TokenIsPresent(token string) bool {
4 return token != "" && token != "revoked"
5}

Callers 3

RevokeTokenIfNecessaryFunction · 0.92
initFunction · 0.92
ReadConfigFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…