From 32581bf832b6a669271b5f70af8b5d7a73dbb48e Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Wed, 1 Apr 2020 11:34:13 -0400 Subject: [PATCH] Clarify comments a bit more. --- synapse/handlers/cas_handler.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/synapse/handlers/cas_handler.py b/synapse/handlers/cas_handler.py index c9c85ad061..1362ce74a1 100644 --- a/synapse/handlers/cas_handler.py +++ b/synapse/handlers/cas_handler.py @@ -176,7 +176,8 @@ class CasHandler: self, request: SynapseRequest, client_redirect_url: str, ticket: str, ) -> None: """ - Validates a CAS ticket sent by the client and completes the login process. + Called once the user has successfully authenticated with the SSO, + validates a CAS ticket sent by the client and completes the login process. Registers the user if necessary, and then returns a redirect (with a login token) to the client. @@ -210,7 +211,9 @@ class CasHandler: self, request: SynapseRequest, ticket: str, session_id: str ) -> None: """ - Validates a CAS ticket sent by the client for user interactive authentication. + Called once the user has successfully authenticated with the SSO, + validates a CAS ticket sent by the client and completes user interactive + authentication. If successful, this completes the SSO step of UI auth and returns a an HTML page to the client.