summary refs log tree commit diff
path: root/tests/api/test_auth.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Update license headersPatrick Cloke2023-11-211-10/+16
* Refactor `get_user_by_id` (#16316)Erik Johnston2023-09-141-3/+9
* Replace simple_async_mock with AsyncMock (#16180)Patrick Cloke2023-08-251-48/+49
* Implements admin API to lock an user (MSC3939) (#15870)Mathieu Velten2023-08-101-0/+3
* Save the scopes in the requesterQuentin Gliech2023-05-301-0/+2
* Make the api.auth.Auth a ProtocolQuentin Gliech2023-05-301-2/+2
* Properly typecheck tests.api (#14983)David Robertson2023-02-031-29/+35
* `synapse.api.auth.Auth` cleanup: make permission-related methods use `Request...Quentin Gliech2022-08-221-1/+7
* Move the "email unsubscribe" resource, refactor the macaroon generator & simp...Quentin Gliech2022-06-141-10/+5
* Decouple `synapse.api.auth_blocking.AuthBlocking` from `synapse.api.auth.Auth...Quentin Gliech2022-06-141-15/+27
* Remove remaining bits of groups code. (#12936)Patrick Cloke2022-06-011-2/+0
* Use `getClientAddress` instead of `getClientIP`. (#12599)Patrick Cloke2022-05-041-9/+9
* Replace assertEquals and friends with non-deprecated versions. (#12092)Patrick Cloke2022-02-281-18/+18
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-2/+6
* Allow tracking puppeted users for MAU (#11561)Jason Robinson2022-01-121-0/+33
* Add experimental support for MSC3202: allowing application services to masque...reivilibre2021-12-151-0/+64
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-7/+7
* Fix AuthBlocking check when requester is appservice (#10881)Jason Robinson2021-09-241-0/+62
* Use direct references for configuration variables (part 4). (#10893)Patrick Cloke2021-09-231-2/+2
* MSC2918 Refresh tokens implementation (#9450)Quentin Gliech2021-06-241-0/+1
* Change the format of access tokens away from macaroons (#5588)Richard van der Hoff2021-05-121-63/+0
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-1/+1
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-1/+4
* Convert additional test-cases to homeserver test case. (#9396)Patrick Cloke2021-02-161-132/+92
* Add admin API for logging in as a user (#8617)Erik Johnston2020-11-171-1/+5
* Add ability for access tokens to belong to one user but grant access to anoth...Erik Johnston2020-10-291-16/+13
* Remove the deprecated Handlers object (#8494)Patrick Cloke2020-10-091-9/+3
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Convert synapse.api to async/await (#8031)Patrick Cloke2020-08-061-27/+42
* Stop Auth methods from polling the config on every req. (#7420)Andrew Morgan2020-05-061-16/+20
* Convert auth handler to async/await (#7261)Patrick Cloke2020-04-151-24/+40
* Ensure support users can be registered even if MAU limit is reachedJason Robinson2019-09-111-0/+18
* Implement access token expiry (#5660)Richard van der Hoff2019-07-121-2/+4
* Clean up exception handling for access_tokens (#5656)Richard van der Hoff2019-07-111-7/+24
* Inline issue_access_token (#5659)Richard van der Hoff2019-07-111-1/+1
* Remove access-token support from RegistrationStore.register (#5642)Richard van der Hoff2019-07-101-1/+1
* Run Black. (#5482)Amber Brown2019-06-201-6/+6
* Enforce hs_disabled_message correctlyRichard van der Hoff2019-03-191-0/+17
* Merge branch rav/macaroon_key_fix_0.34 into rav/macaroon_key_fix_0.34.1Richard van der Hoff2019-01-101-154/+1
|\
| * Merge branch 'rav/macaroon_key_fix' into rav/macaroon_key_fix_0.34Richard van der Hoff2019-01-101-154/+1
| |\
| | * Skip macaroon check for access tokens in the dbRichard van der Hoff2019-01-101-148/+1
* | | create support user (#4141)Neil Johnson2018-12-141-0/+2
|/ /
* | Port tests/ to Python 3 (#3808)Amber Brown2018-09-071-0/+1
* | fix bug where preserved threepid user comes to sign up and server is mau blockedNeil Johnson2018-08-311-0/+17
* | Change admin_uri to admin_contact in config and errorsErik Johnston2018-08-241-2/+2
* | rename error codeNeil Johnson2018-08-181-2/+2
* | special case server_notices_mxidNeil Johnson2018-08-181-0/+8
* | add new error type ResourceLimitNeil Johnson2018-08-161-3/+3
* | update error codes for resource limitingNeil Johnson2018-08-151-2/+2
* | replace admin_email with admin_uri for greater flexibilityNeil Johnson2018-08-151-2/+2
* | support admin_email config and pass through into blocking errors, return Auth...Neil Johnson2018-08-131-1/+5
* | Revert "support admin_email config and pass through into blocking errors, ret...Neil Johnson2018-08-131-5/+1
* | support admin_email config and pass through into blocking errors, return Auth...Neil Johnson2018-08-131-1/+5
* | Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-1/+1
* | Run black.black2018-08-101-41/+35
* | disable HS from configNeil Johnson2018-08-041-1/+10
* | remove unused importNeil Johnson2018-08-031-1/+1
* | bug fixesNeil Johnson2018-08-031-7/+3
* | do mau checks based on monthly_active_users tableNeil Johnson2018-08-021-1/+30
|/
* Python 3: Convert some unicode/bytes uses (#3569)Amber Brown2018-08-021-16/+19
* run isortAmber Brown2018-07-091-2/+5
* add testMatthew Hodgson2018-06-281-0/+33
* fix testsMatthew Hodgson2018-06-281-3/+15
* Prevent user tokens being used as guest tokens (#1675)Richard van der Hoff2016-12-061-15/+78
* Fix unit testsMark Haines2016-09-121-9/+9
* Record device_id in client_ipsRichard van der Hoff2016-07-201-1/+9
* Bug fix: expire invalid access tokensNegar Fazeli2016-07-131-1/+30
* Create user with expiryNegi Fazeli2016-05-131-6/+6
* Fix flake8 warnings for testsMark Haines2016-02-191-2/+2
* Introduce a Requester objectDaniel Wagner-Hall2016-01-111-6/+6
* Allow guests to upgrade their accountsDaniel Wagner-Hall2016-01-051-9/+9
* Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-041-3/+22
* s/user_id/user/g for consistencyDaniel Wagner-Hall2015-09-011-4/+4
* Turn TODO into thing which actually will failDaniel Wagner-Hall2015-08-261-6/+9
* Attempt to validate macaroonsDaniel Wagner-Hall2015-08-261-2/+140
* Stop looking up "admin", which we never readDaniel Wagner-Hall2015-08-251-2/+0
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-5/+3
* s/by_token/by_access_token/gDaniel Wagner-Hall2015-08-201-8/+8
* Remove unused imports.Kegan Dougal2015-02-091-2/+2
* Modify auth.get_user_by_req for authing appservices directly.Kegan Dougal2015-02-091-0/+139