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