forked-synapse/synapse/handlers
Richard van der Hoff d2c616a413
Combine the SSO Redirect Servlets (#9015)
* Implement CasHandler.handle_redirect_request

... to make it match OidcHandler and SamlHandler

* Clean up interface for OidcHandler.handle_redirect_request

Make it accept `client_redirect_url=None`.

* Clean up interface for `SamlHandler.handle_redirect_request`

... bring it into line with CAS and OIDC by making it take a Request parameter,
move the magic for `client_redirect_url` for UIA into the handler, and fix the
return type to be a `str` rather than a `bytes`.

* Define a common protocol for SSO auth provider impls

* Give SsoIdentityProvider an ID and register them

* Combine the SSO Redirect servlets

Now that the SsoHandler knows about the identity providers, we can combine the
various *RedirectServlets into a single implementation which delegates to the
right IdP.

* changelog
2021-01-04 18:13:49 +00:00
..
ui_auth Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
__init__.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
_base.py Simplify the flow for SSO UIA (#8881) 2020-12-08 14:03:38 +00:00
account_data.py Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
account_validity.py Add type hints for account validity handler (#8620) 2020-10-26 14:17:31 -04:00
acme_issuing_service.py Use slots in attrs classes where possible (#8296) 2020-09-14 12:50:06 -04:00
acme.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
admin.py Add type hints to admin and room list handlers. (#8973) 2020-12-29 17:42:10 -05:00
appservice.py Improve appservice handler to send only the most recent read receipts when no stream_id is stored. (#8744) 2020-11-18 18:54:09 +00:00
auth.py Allow re-using a UI auth validation for a period of time (#8970) 2020-12-18 07:33:57 -05:00
cas_handler.py Combine the SSO Redirect Servlets (#9015) 2021-01-04 18:13:49 +00:00
deactivate_account.py Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
device.py Add typing information to the device handler. (#8407) 2020-10-07 08:58:21 -04:00
devicemessage.py Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
directory.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
e2e_keys.py e2e: ensure we have both master and self-signing key (#8455) 2020-10-26 18:37:47 +00:00
e2e_room_keys.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
events.py Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
federation.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
groups_local.py Check if group IDs are valid before using them. (#8977) 2020-12-30 08:39:59 -05:00
identity.py Send the location of the web client to the IS when inviting via 3PIDs. (#8930) 2020-12-18 11:01:57 -05:00
initial_sync.py Add additional type hints to the storage module. (#8980) 2020-12-30 08:09:53 -05:00
message.py Try and drop stale extremities. (#8929) 2020-12-18 09:49:18 +00:00
oidc_handler.py Combine the SSO Redirect Servlets (#9015) 2021-01-04 18:13:49 +00:00
pagination.py Add force_purge option to delete-room admin api. (#8843) 2020-11-30 16:48:12 +00:00
password_policy.py Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
presence.py Use TYPE_CHECKING instead of magic MYPY variable. (#8770) 2020-11-17 09:09:40 -05:00
profile.py Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
read_marker.py Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
receipts.py Add type hints to the receipts and user directory handlers. (#8976) 2021-01-04 10:05:12 -05:00
register.py Merge remote-tracking branch 'origin/erikj/as_mau_block' into develop 2020-12-18 09:51:56 +00:00
room_list.py Add type hints to admin and room list handlers. (#8973) 2020-12-29 17:42:10 -05:00
room_member_worker.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
room_member.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
room.py Do not assume that the contents dictionary includes history_visibility. (#8945) 2020-12-16 08:46:37 -05:00
saml_handler.py Combine the SSO Redirect Servlets (#9015) 2021-01-04 18:13:49 +00:00
search.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
set_password.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
sso.py Combine the SSO Redirect Servlets (#9015) 2021-01-04 18:13:49 +00:00
state_deltas.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
stats.py Allow background tasks to be run on a separate worker. (#8369) 2020-10-02 08:23:15 -04:00
sync.py Add additional type hints to the storage module. (#8980) 2020-12-30 08:09:53 -05:00
typing.py Don't unnecessarily start bg process while handling typing. (#8668) 2020-10-27 15:32:19 +00:00
user_directory.py Add type hints to the receipts and user directory handlers. (#8976) 2021-01-04 10:05:12 -05:00