MCPcopy Create free account
hub / github.com/algolia/cli / AuthAborted

Function AuthAborted

pkg/telemetry/events.go:162–167  ·  view source on GitHub ↗

AuthAborted is emitted when the user cancelled the auth flow, with the step they stopped at.

(flow Flow, tracker *FlowTracker)

Source from the content-addressed store, hash-verified

160// AuthAborted is emitted when the user cancelled the auth flow, with the step
161// they stopped at.
162func AuthAborted(flow Flow, tracker *FlowTracker) Event {
163 return Event{EventAuthAborted, map[string]any{
164 "flow": flow,
165 "step": tracker.Step(),
166 }}
167}
168
169// AuthLogout is emitted when the user signs out. It must be tracked before
170// the local state is cleared, while the user identifier is still attached to

Callers 2

trackOAuthFlowOutcomeFunction · 0.92
TestAuthAbortedFunction · 0.85

Calls 1

StepMethod · 0.80

Tested by 1

TestAuthAbortedFunction · 0.68