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

Design the security middleware #5

Open
whitlockjc opened this issue Feb 14, 2016 · 0 comments
Open

Design the security middleware #5

whitlockjc opened this issue Feb 14, 2016 · 0 comments

Comments

@whitlockjc
Copy link
Owner

The swagger-security middleware in swagger-tools was originally created to drive a127 but the idea was simple enough: allow the API author to register security handlers that would be consulted based on the Swagger document. No more manually wiring security, just update your Swagger document to dictate when and what security is required.

Unfortunately, this middleware does not adhere to standard middleware practices and at a minimum this needs to be resolved. We also might learn a thing or two by looking at passport.js.

@whitlockjc whitlockjc changed the title Design security middleware Design the security middleware Feb 14, 2016
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

No branches or pull requests

1 participant