HasActiveToken returns true when a token for the hostname is present.
(hostname string)
| 105 | type AuthConfig interface { |
| 106 | // HasActiveToken returns true when a token for the hostname is present. |
| 107 | HasActiveToken(hostname string) bool |
| 108 | |
| 109 | // ActiveToken will retrieve the active auth token for the given hostname, searching environment variables, |
| 110 | // general configuration, and finally encrypted storage. |
no outgoing calls