Closed jcwilson closed 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.
user
req.context
Coverage increased (+0.03%) to 92.641% when pulling 52e6bb75ea81f06e58f03b84bae2b0573c976793 on jcwilson:master into 9287440aedd8c8e91c3cf6ed7bf9fda36d0ddb5b on loanzen:master.
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 toreq.context
.