Sequence diagram
User authentication sequence
Login across browser, API and database, ending with a session token.
- Category
- Technical
- Diagram type
- Sequence diagram
- Elements
- 4
- Connectors
- 6
What it is for
The message order is the design. Issuing the session token before the user record has been checked would be a security bug, and drawing the order makes that obvious.
More about the sequence diagram makerWhen it helps
- Reviewing an auth flow
- Explaining login to a new engineer
- Documenting an integration