refactoring user interactive auth#3380
Conversation
S7evinK
left a comment
There was a problem hiding this comment.
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.UserInteractiveprivate 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