authentication
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| authentication [2025/03/24 12:31] – more detail winter | authentication [2026/01/20 17:32] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| + | ===== In diagram form ===== | ||
| + | |||
| + | <uml> | ||
| + | @startuml | ||
| + | skinparam responseMessageBelowArrow true | ||
| + | |||
| + | |||
| + | participant " | ||
| + | participant " | ||
| + | == Server A wants to prove its identity with Server B == | ||
| + | A -> B: "" | ||
| + | ""? | ||
| + | ""& | ||
| + | A <-- B: 202 Accepted / 204 No Content | ||
| + | ...Potentially some delay... | ||
| + | B -> A: "" | ||
| + | "" | ||
| + | "" | ||
| + | B <-- A: 202 Accepted / 204 No Content | ||
| + | A -> B: "" | ||
| + | ""? | ||
| + | ""& | ||
| + | A <-- B: 200 OK / 201 Created\n\ | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | }\n}} | ||
| + | == Authenticated request == | ||
| + | A -> B: "" | ||
| + | <& | ||
| + | A <-- B: < | ||
| + | == Server A wants to refresh the token == | ||
| + | ...A bit before the expires date... | ||
| + | A -> B: "" | ||
| + | ""? | ||
| + | <& | ||
| + | |||
| + | A <-- B: 200 OK / 201 Created\n\ | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | }\n}} | ||
| + | @enduml | ||
| + | </ | ||
| + | |||
| + | <WRAP center round todo 80%> | ||
| + | are we sure that this can use different HTTP response codes? e.g. "200 OK / 201 Created" | ||
| + | </ | ||
| - | {{page> | ||
authentication.1742819463.txt.gz · Last modified: (external edit)
