Sequence · Diagram Design · Special
Bearer call with refresh
Bearer call with refresh
Client calls API with a bearer token. An ALT fragment shows either a valid 200 response or a 401 path that refreshes via Auth and retries.
GET /RESOURCE + BEARER
ALT
[token valid]
200 · BODY
[else · 401]
401
POST /TOKEN · REFRESH
200 · NEW ACCESS
GET /RESOURCE · RETRY
200 · BODY
AUDIT · ASYNC
APP
Client
SPA · SDK
API
Resource API
Bearer gate
AUTH
Auth
token · refresh
LEGEND
Focal / success
ALT
Fragment
HTTP call
Return
Async open
Headline