SetTelemetryCommand sets the command reported with token refresh attempts, such as "gh auth token". Callers must not pass user-defined names, like those of extensions or aliases.
(command string)
| 317 | // SetTelemetryCommand sets the command reported with token refresh attempts, such as "gh auth token". Callers must |
| 318 | // not pass user-defined names, like those of extensions or aliases. |
| 319 | func (c *AuthConfig) SetTelemetryCommand(command string) { |
| 320 | c.telemetryCommand.Store(&command) |
| 321 | } |
| 322 | |
| 323 | // ActiveTokenType reports what kind of credential the active token is, so a |
| 324 | // caller that only needs to know that can avoid handling the token. It is |
nothing calls this directly
no outgoing calls
no test coverage detected