twisted / klein

werkzeug + twisted.web
Other
836 stars 121 forks source link

support for middleware? #180

Open anekix opened 7 years ago

anekix commented 7 years ago

Hi i need to have a middleware that performs some authentication for anyendpoint call. something like explained here https://afropolymath.svbtle.com/intercept-route-requests-using-decorators-in-flask .how can i achieve same in twisted klein?

notoriousno commented 7 years ago

Here's a comment that should give you some insight into how "middleware" solutions can be created. Seems like this should be referenced in a feature request for authentication middleware (of some sort).

anekix commented 7 years ago

@notoriousno it a nice coincidence i came up with an exact solution using decorators :)

whg517 commented 4 years ago

So far nothing has happened???