AuthTelemetryEvent tracks the auth-state facts of a single login or refresh invocation in a pending telemetry event. [ghtelemetry.Service.Finish] owns completion; later updates are ignored. All methods are nil-tolerant so callers can hold a nil event when telemetry is disabled or the host is not eli
| 11 | // [ghtelemetry.Service.Finish] owns completion; later updates are ignored. All methods are nil-tolerant so callers can |
| 12 | // hold a nil event when telemetry is disabled or the host is not eligible. |
| 13 | type AuthTelemetryEvent struct { |
| 14 | pendingEvent ghtelemetry.PendingEvent |
| 15 | } |
| 16 | |
| 17 | // BeginAuthTelemetry starts an auth-state event at full sampling for a login or refresh invocation. It returns nil when |
| 18 | // recorder is nil or when hostname is a GitHub Enterprise Server host, since enterprise usage is never reported. command |
nothing calls this directly
no outgoing calls
no test coverage detected