Skip to content

Commit

Permalink
Clarify that logging out deletes devices too
Browse files Browse the repository at this point in the history
Fixes #1651
  • Loading branch information
turt2live committed May 27, 2019
1 parent 5c268ef commit 221d9f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions api/client-server/logout.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ paths:
summary: Invalidates a user access token
description: |-
Invalidates an existing access token, so that it can no longer be used for
authorization.
authorization. The device associated with the access token is also deleted.
operationId: logout
security:
- accessToken: []
Expand All @@ -49,7 +49,8 @@ paths:
summary: Invalidates all access tokens for a user
description: |-
Invalidates all access tokens for a user, so that they can no longer be used for
authorization. This includes the access token that made this request.
authorization. This includes the access token that made this request. All devices
for the user are also deleted.
This endpoint does not require UI authorization because UI authorization is
designed to protect against attacks where the someone gets hold of a single access
Expand Down
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/2028.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that devices are deleted upon logout.

0 comments on commit 221d9f2

Please sign in to comment.