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

Concept of a middleware #39

Open
ktalebian opened this issue Sep 17, 2019 · 1 comment
Open

Concept of a middleware #39

ktalebian opened this issue Sep 17, 2019 · 1 comment

Comments

@ktalebian
Copy link

It there a concept of a middleware for this library? What if I want certain routes to be authenticated, and would like to have an authentication handler that runs for those endpoints before the main handler is invoked.

@membphis
Copy link
Member

Lua-resty-libr3 is only a router, dispatching library base on r3.

if you want to do something like authenticate, you can take a look at another project apisix.

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