RecordHelperAfter captures the git credential helper configured after login completed, as one of "ours", "other", "none", or "error" when the helper could not be read.
(category string)
| 69 | // RecordHelperAfter captures the git credential helper configured after login completed, as one of "ours", "other", |
| 70 | // "none", or "error" when the helper could not be read. |
| 71 | func (e *AuthTelemetryEvent) RecordHelperAfter(category string) { |
| 72 | if e == nil { |
| 73 | return |
| 74 | } |
| 75 | e.pendingEvent.UpsertDimensions(ghtelemetry.Dimensions{"git_credential_helper_after": category}) |
| 76 | } |
| 77 | |
| 78 | // RecordExpiringReceived captures whether the server issued an expiring, refreshable token. |
| 79 | func (e *AuthTelemetryEvent) RecordExpiringReceived(received bool) { |