dbartholomae / lambda-middleware

A collection of middleware for AWS lambda functions.
https://dbartholomae.github.io/lambda-middleware/
MIT License
151 stars 18 forks source link

Add jwt auth middleware #26

Closed dbartholomae closed 4 years ago

dbartholomae commented 4 years ago

Closes #6

codecov[bot] commented 4 years ago

Codecov Report

Merging #26 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##            master       #26    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files            5        12     +7     
  Lines           49       169   +120     
  Branches         5        43    +38     
==========================================
+ Hits            49       169   +120     
Impacted Files Coverage Δ
packages/jwt-auth/src/helpers/createContext.ts 100.00% <100.00%> (ø)
packages/jwt-auth/src/helpers/createEvent.ts 100.00% <100.00%> (ø)
...ges/jwt-auth/src/helpers/getTokenFromAuthHeader.ts 100.00% <100.00%> (ø)
...ackages/jwt-auth/src/helpers/getTokenFromSource.ts 100.00% <100.00%> (ø)
packages/jwt-auth/src/interfaces/AuthOptions.ts 100.00% <100.00%> (ø)
...ackages/jwt-auth/src/interfaces/AuthorizedEvent.ts 100.00% <100.00%> (ø)
packages/jwt-auth/src/jwtTokenChecker.ts 100.00% <100.00%> (ø)
... and 4 more

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 c8d97fc...0601c0e. Read the comment docs.