vertexcover-io / falcon-auth

A falcon middleware + authentication backends that adds authentication layer to you app/api service.
MIT License
103 stars 31 forks source link

Add more effective multi-auth backend tests #20

Closed jcwilson closed 5 years ago

jcwilson commented 5 years ago

Exercise each of the backends through the MultiAuthBackend to ensure they're adhering to the expected contract.

This also fixes a bug in the Hawk backend where the request would pass authentication, but the user object would not be added to req.context.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.03%) to 92.641% when pulling 52e6bb75ea81f06e58f03b84bae2b0573c976793 on jcwilson:master into 9287440aedd8c8e91c3cf6ed7bf9fda36d0ddb5b on loanzen:master.