actix / actix-web-httpauth

Moved to actix-extras repo.
https://github.com/actix/actix-extras/tree/HEAD/actix-web-httpauth
Apache License 2.0
82 stars 37 forks source link

Middleware validation callback receives request by value #9

Closed svartalf closed 5 years ago

svartalf commented 5 years ago

References the #8, can be merged after testing.

asonix commented 5 years ago

This works for me!

I actually forked this library yesterday and made these changes, and switching from my fork to your impl required no changes on my end (probably because the changeset was identical)

asonix commented 5 years ago

Actually it looks like my fork was naive, I didn't get rid of the Validate struct, I just modified how it worked.

asonix commented 5 years ago

Thank you for this library, btw. I hope to have it in a "production" system sometime soon. My project is a hobby, though, so we'll see how it turns out