Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inject current request in security handlers #1883

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

RobbeSneyders
Copy link
Member

Fixes #1881
Fixes #1880
Fixes #1876

Alternative to #1750

This PR makes the current request available to the security handlers by injecting it as a keyword. I think this is a proper alternative to #1750, since this is the only place in the default middleware stack where I expect this to be needed.

@coveralls
Copy link

Coverage Status

coverage: 94.217% (+0.003%) from 94.214%
when pulling 20e5802 on feature/inject-request-security
into 211bdb0 on main.

@RobbeSneyders RobbeSneyders merged commit b3dd986 into main Mar 20, 2024
8 checks passed
@RobbeSneyders RobbeSneyders deleted the feature/inject-request-security branch March 20, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants