Key flows
Sequence and state diagrams for the main flows. Each one was written from the code that runs it, and each page ends with its sources.
| Flow | What it shows |
|---|---|
| Sign-in and token refresh | How a person gets an access token and keeps it fresh. |
| Authenticated API call | What happens to a request between the browser and a service. |
| Video upload and Range streaming | Upload, the stream token and seek-friendly playback. |
| Live-class recording | From the first published track to a playable recording. |
| Mentor session booking | Booking, joining, completing, and the session states. |
| Certificate verification | How someone with no account checks a certificate. |
:::info Planned work
A redesign of certificate issue and lifecycle is specified in .kiro/specs/certificate-lifecycle/. It is not built. The certificate page here describes what runs today. See ADR 11.
:::
The sign-in and renewal calls the frontend makes are specified in the Frontend routes reference.