Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 32581bf

Browse files
committed
Clarify comments a bit more.
1 parent 79f7a9a commit 32581bf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

synapse/handlers/cas_handler.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ async def handle_ticket_for_login(
176176
self, request: SynapseRequest, client_redirect_url: str, ticket: str,
177177
) -> None:
178178
"""
179-
Validates a CAS ticket sent by the client and completes the login process.
179+
Called once the user has successfully authenticated with the SSO,
180+
validates a CAS ticket sent by the client and completes the login process.
180181
181182
Registers the user if necessary, and then returns a redirect (with
182183
a login token) to the client.
@@ -210,7 +211,9 @@ async def handle_ticket_for_ui_auth(
210211
self, request: SynapseRequest, ticket: str, session_id: str
211212
) -> None:
212213
"""
213-
Validates a CAS ticket sent by the client for user interactive authentication.
214+
Called once the user has successfully authenticated with the SSO,
215+
validates a CAS ticket sent by the client and completes user interactive
216+
authentication.
214217
215218
If successful, this completes the SSO step of UI auth and returns a
216219
an HTML page to the client.

0 commit comments

Comments
 (0)