summaryrefslogtreecommitdiff
path: root/docs/api/authentication.md
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-11-08 16:28:10 -0500
committerOwen Jacobson <owen@grimoire.ca>2025-11-08 16:28:10 -0500
commitfc6914831743f6d683c59adb367479defe6f8b3a (patch)
tree5b997adac55f47b52f30022013b8ec3b2c10bcc5 /docs/api/authentication.md
parent0ef69c7d256380e660edc45ace7f1d6151226340 (diff)
parent6bab5b4405c9adafb2ce76540595a62eea80acc0 (diff)
Integrate the prototype push notification support.
We're going to move forwards with this for now, as low-utility as it is, so that we can more easily iterate on it in a real-world environment (hi.grimoire.ca).
Diffstat (limited to 'docs/api/authentication.md')
-rw-r--r--docs/api/authentication.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/api/authentication.md b/docs/api/authentication.md
index 189103e..801f0e7 100644
--- a/docs/api/authentication.md
+++ b/docs/api/authentication.md
@@ -85,6 +85,8 @@ This endpoint will respond with a status of `401 Unauthorized` if the login name
Invalidates the identity token used to make the request, logging the caller out.
+This terminates any [push subscriptions](push.md#receiving-web-push-messages) associated with the token.
+
### Request
```json
@@ -103,6 +105,8 @@ The response will include a `Set-Cookie` header that clears the `identity` cooki
Changes the current user's password, and invalidates all outstanding identity tokens.
+This terminates any [push subscriptions](push.md#receiving-web-push-messages) associated with existing tokens.
+
### Authentication failure
This endpoint will respond with a status of `401 Unauthorized` if the provided identity token is not valid.