ActiveTokenType reports what kind of credential the active token for the hostname is, so a caller can decide whether it will do without handling the token itself.
(hostname string)
| 147 | // hostname is, so a caller can decide whether it will do without handling |
| 148 | // the token itself. |
| 149 | ActiveTokenType(hostname string) TokenType |
| 150 | |
| 151 | // HasEnvToken returns true when a token has been specified in an environment variable, else returns false. |
| 152 | HasEnvToken() bool |
no outgoing calls