This PR was mainly committed to adding registration support or providing a way of connecting OAuth users with the existing ORM. But it has changed the following behaviors as well:
Middleware can obtain an optional callback for calling after authentication success.
Changed some design solutions that were made before.
At the code level: fixed all typing issues and added missing ones. Also, added missing descriptions to classes.
All Submissions:
[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changes to Core Features:
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you updated the documentation related to the changes you have made?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully run tests with your changes locally?
Motivation:
This PR was mainly committed to adding registration support or providing a way of connecting OAuth users with the existing ORM. But it has changed the following behaviors as well:
All Submissions:
Changes to Core Features: