AuthAborted is emitted when the user cancelled the auth flow, with the step they stopped at.
(flow Flow, tracker *FlowTracker)
| 160 | // AuthAborted is emitted when the user cancelled the auth flow, with the step |
| 161 | // they stopped at. |
| 162 | func 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 |