summary refs log tree commit diff
path: root/synapse/rest/client/v1/logout.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make auth & transactions more testable (#3499)Amber Brown2018-07-141-2/+1
|
* run isortAmber Brown2018-07-091-3/+2
|
* Return 401 for invalid access_token on logoutdklug2018-03-021-1/+4
| | | | Signed-off-by: Duncan Klug <dklug@ucmerced.edu>
* Delete devices in various logout situationsRichard van der Hoff2017-11-291-2/+25
| | | | | | | | | | | | | Make sure that we delete devices whenever a user is logged out due to any of the following situations: * /logout * /logout_all * change password * deactivate account (by the user or by an admin) * invalidate access token from a dynamic module Fixes #2672.
* Move access token deletion into auth handlerRichard van der Hoff2017-11-011-4/+4
| | | | | | | Also move duplicated deactivation code into the auth handler. I want to add some hooks when we deactivate an access token, so let's bring it all in here so that there's somewhere to put it.
* Add helper function for getting access_tokens from requestsMark Haines2016-09-091-8/+2
| | | | | | Rather than reimplementing the token parsing in the various places. This will make it easier to change the token parsing to allow access_tokens in HTTP headers.
* Implement logoutErik Johnston2016-03-111-0/+72