Add hooks to highlight the possibilities of the framework #673
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The grey color has been used to show that's optional, and a loop arrow to represent that multiple hooks can be stacked. We can distinctly see three kind of hooks:
Also, I have added the optional
RequestValidator.rotate_refresh_token
callback.Below screenshot of the bottom portion of the flow which has been impact the most:
BEFORE (3.0.1 documentation)
AFTER (this PR update after a

tox -e docs
)Any ideas, suggestions are more than welcome. The overall picture becomes big, I was thinking about removing some flows from it, e.g. the ROPC / Resource Grant. Thoughts ?