Closed cilindrox closed 4 years ago
Merging #341 into master will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## master #341 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 2 2
Lines 133 133
=====================================
Hits 133 133
Impacted Files | Coverage Δ | |
---|---|---|
lib/index.js | 100% <100%> (ø) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 98d3c9e...316f061. Read the comment docs.
@nelsonic would appreciate your review :)
Replaced via #342
Use request.auth.artifacts to store a copy of the raw token and decoded payload.
Breaking Changes
request.auth.artifacts
is now an object containing the raw token anddecoded
token
fields instead of a string.Migration Checklist
Artifacts are populated using the decoded (unvalidated) and raw token objects for easy access on the validation callback or any authentication-related actions.
Checklist:
request.auth.artifacts
in your codebase and replace it withrequest.auth.artifacts.token
Closes #224 and #284