HasActiveToken returns true when a token for the hostname is present.
(hostname string)
| 224 | type AuthConfig interface { |
| 225 | // HasActiveToken returns true when a token for the hostname is present. |
| 226 | HasActiveToken(hostname string) bool |
| 227 | |
| 228 | // ActiveTokenWithRefresh retrieves the active credential for the given hostname and, when it is refreshable and |
| 229 | // its access token is expiring, renews and persists it. It may return a non-empty credential with an error, such |
no outgoing calls