-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Port the Password Auth Providers module interface to the new generic interface #10548
Port the Password Auth Providers module interface to the new generic interface #10548
Commits on Aug 6, 2021
-
Moved to using new callback registering style
You now register logintype->callback rather than having check_auth and check_password as the two only possible functions. modules now must provide the login types they support when they register, instead of providing a function get_supported_login_types. The auth handler is initialised before the modules are loaded and so supported login types must be worked out later A load_legacy method wraps old-style modules so that they work with the new system
Azrenbeth authored and Azrenbeth committedAug 6, 2021 Configuration menu - View commit details
-
Copy full SHA for 0841865 - Browse repository at this point
Copy the full SHA 0841865View commit details -
Added tests for new and legacy modules
Azrenbeth authored and Azrenbeth committedAug 6, 2021 Configuration menu - View commit details
-
Copy full SHA for 58d87e9 - Browse repository at this point
Copy the full SHA 58d87e9View commit details -
Removed the old module style from sample_config
Azrenbeth authored and Azrenbeth committedAug 6, 2021 Configuration menu - View commit details
-
Copy full SHA for accef11 - Browse repository at this point
Copy the full SHA accef11View commit details -
Updated docs with information on new callbacks
Azrenbeth authored and Azrenbeth committedAug 6, 2021 Configuration menu - View commit details
-
Copy full SHA for d84e47c - Browse repository at this point
Copy the full SHA d84e47cView commit details -
Added porting instructions to the docs
Azrenbeth authored and Azrenbeth committedAug 6, 2021 Configuration menu - View commit details
-
Copy full SHA for b198647 - Browse repository at this point
Copy the full SHA b198647View commit details -
Azrenbeth authored and Azrenbeth committed
Aug 6, 2021 Configuration menu - View commit details
-
Copy full SHA for d7d89ce - Browse repository at this point
Copy the full SHA d7d89ceView commit details -
removed now unused ModuleApi object in auth handler
Azrenbeth authored and Azrenbeth committedAug 6, 2021 Configuration menu - View commit details
-
Copy full SHA for 1f87fbd - Browse repository at this point
Copy the full SHA 1f87fbdView commit details
Commits on Aug 11, 2021
-
Added error handling when calling callbacks
Also renamed the callback types to the form of XYZ_CALLBACK
Azrenbeth authored and Azrenbeth committedAug 11, 2021 Configuration menu - View commit details
-
Copy full SHA for 6ad6ccd - Browse repository at this point
Copy the full SHA 6ad6ccdView commit details -
auth checkers now MUST return tuple
(could previously return either a string or a tuple)
Azrenbeth authored and Azrenbeth committedAug 11, 2021 Configuration menu - View commit details
-
Copy full SHA for efeb758 - Browse repository at this point
Copy the full SHA efeb758View commit details
Commits on Aug 19, 2021
-
Removed duplicated statement in the docs
Azrenbeth authored and Azrenbeth committedAug 19, 2021 Configuration menu - View commit details
-
Copy full SHA for e6bfd49 - Browse repository at this point
Copy the full SHA e6bfd49View commit details -
Merged origin/develop into branch
Azrenbeth authored and Azrenbeth committedAug 19, 2021 Configuration menu - View commit details
-
Copy full SHA for 00c11c5 - Browse repository at this point
Copy the full SHA 00c11c5View commit details
Commits on Aug 23, 2021
-
Applied suggestions from code review:
Reworded some stuff Added a docstring Added a newline in docs Added some spaces so string concatinate as expected Made mypy '# type: ignore' comments more selective
Azrenbeth authored and Azrenbeth committedAug 23, 2021 Configuration menu - View commit details
-
Copy full SHA for 3083565 - Browse repository at this point
Copy the full SHA 3083565View commit details -
Register login_type, fields, auth_checker all in one chunk
Azrenbeth authored and Azrenbeth committedAug 23, 2021 Configuration menu - View commit details
-
Copy full SHA for 4f18f1b - Browse repository at this point
Copy the full SHA 4f18f1bView commit details
Commits on Aug 25, 2021
-
Applied suggestions from code review
Azrenbeth authored and Azrenbeth committedAug 25, 2021 Configuration menu - View commit details
-
Copy full SHA for f4a8484 - Browse repository at this point
Copy the full SHA f4a8484View commit details
Commits on Sep 9, 2021
-
Merge remote-tracking branch 'origin/develop' into azren/password_aut…
…h_providers_to_new_module_system
Azrenbeth authored and Azrenbeth committedSep 9, 2021 Configuration menu - View commit details
-
Copy full SHA for e65d49e - Browse repository at this point
Copy the full SHA e65d49eView commit details -
Reformat password_aut_providers docs and fix some small issues
Azrenbeth authored and Azrenbeth committedSep 9, 2021 Configuration menu - View commit details
-
Copy full SHA for 3c9b6c2 - Browse repository at this point
Copy the full SHA 3c9b6c2View commit details -
Azrenbeth authored and Azrenbeth committed
Sep 9, 2021 Configuration menu - View commit details
-
Copy full SHA for e889594 - Browse repository at this point
Copy the full SHA e889594View commit details
Commits on Sep 20, 2021
-
Apply suggestion from code review
Azrenbeth authored and Azrenbeth committedSep 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 4ad1bd1 - Browse repository at this point
Copy the full SHA 4ad1bd1View commit details -
Merge remote-tracking branch 'origin/develop' into azren/password_aut…
…h_providers_to_new_module_system
Azrenbeth authored and Azrenbeth committedSep 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 8e6ebfb - Browse repository at this point
Copy the full SHA 8e6ebfbView commit details -
Azrenbeth authored and Azrenbeth committed
Sep 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 55eede5 - Browse repository at this point
Copy the full SHA 55eede5View commit details -
Azrenbeth authored and Azrenbeth committed
Sep 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 01c65d7 - Browse repository at this point
Copy the full SHA 01c65d7View commit details -
Azrenbeth authored and Azrenbeth committed
Sep 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 6fe825f - Browse repository at this point
Copy the full SHA 6fe825fView commit details -
Azrenbeth authored and Azrenbeth committed
Sep 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 86e9607 - Browse repository at this point
Copy the full SHA 86e9607View commit details
Commits on Oct 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fc72533 - Browse repository at this point
Copy the full SHA fc72533View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e37f11 - Browse repository at this point
Copy the full SHA 5e37f11View commit details -
Incorporate review comment + cleanup
The documentation mentions the username parameter of auth checkers as `user` even though the code doesn't, in order to make it clear this is the same value clients include in login requests as `user`.
Configuration menu - View commit details
-
Copy full SHA for 1cd658a - Browse repository at this point
Copy the full SHA 1cd658aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73ff756 - Browse repository at this point
Copy the full SHA 73ff756View commit details