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

protecting a whole blueprint #184

Open
syfluqs opened this issue Feb 27, 2020 · 1 comment
Open

protecting a whole blueprint #184

syfluqs opened this issue Feb 27, 2020 · 1 comment

Comments

@syfluqs
Copy link

syfluqs commented Feb 27, 2020

Is there a possible way of protecting a whole blueprint without the decorator or otherwise. My specific use case requires authentication check on the sanic-openapi swagger routes, but the package only provides a blueprint for the user to register to the sanic app.

@ahopkins
Copy link
Owner

I don't think there is. But this should not be a hard feature to add.

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

2 participants