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

Better handling of security schemes and enforcers #99

Merged
merged 1 commit into from
Oct 7, 2019

Conversation

janbuchar
Copy link
Collaborator

@janbuchar janbuchar commented Oct 4, 2019

The main benefit here is that we can pass the Request object to AioHTTP security enforcers. Not being able to do that rendered them mostly unusable.

Copy link
Contributor

@blazekadam blazekadam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its alright but we should really look into #79 .

return
except Exception as e:
error = e
else:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thumbs up for for-else

@janbuchar janbuchar merged commit 14e3d83 into dev Oct 7, 2019
@janbuchar janbuchar deleted the better-security-scheme-handling branch October 7, 2019 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants