HasActiveToken returns true when a token for the hostname is present.
(hostname string)
| 138 | type AuthConfig interface { |
| 139 | // HasActiveToken returns true when a token for the hostname is present. |
| 140 | HasActiveToken(hostname string) bool |
| 141 | |
| 142 | // ActiveToken will retrieve the active auth token for the given hostname, searching environment variables, |
| 143 | // general configuration, and finally encrypted storage. |
no outgoing calls