-
-
Notifications
You must be signed in to change notification settings - Fork 678
refactoring user interactive auth #3380
base: main
Are you sure you want to change the base?
refactoring user interactive auth #3380
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the minor nits, looks fine to me.
Can we test the changes? Or do you plan to add tests when adding multi-stage flows?
- making members private as they aren't used outside of the package and in order to protect from concurrent writes - make the mutex protect the sessions only as they are written to concurrently
a616e37
to
7f53e66
Compare
As I wrote in the description, I only refactored internals of a tested module. |
Thanks for contributing to Dendrite! The repo has been cloned into element-hq/dendrite and made the switch to AGPL as per https://matrix.org/blog/2023/11/06/future-of-synapse-dendrite/. If you still wish to contribute under the new license, feel free to create a new PR over at element-hq/dendrite. |
auth.UserInteractive
private as they aren't used outside of the package and in order to protect from concurrent writesThis prepares future contributions I plan, in particular adding functionality for multi-stage flows.
Pull Request Checklist