tokusumi / fastapi-cloudauth

Simple integration between FastAPI and cloud authentication services (AWS Cognito, Auth0, Firebase Authentication).
MIT License
323 stars 35 forks source link

Handle exceptions on malformed token #42

Closed tokusumi closed 3 years ago

tokusumi commented 3 years ago

Add some test in #38 for #37 . (Create new PR to apply GitHub Action in my repo environment)

codecov[bot] commented 3 years ago

Codecov Report

Merging #42 (2b3d56e) into master (ab843a1) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #42   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        11    +1     
  Lines          774       817   +43     
=========================================
+ Hits           774       817   +43     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
fastapi_cloudauth/verification.py 100.00% <100.00%> (ø)
tests/test_cloudauth.py 100.00% <100.00%> (ø)
tests/test_verification.py 100.00% <100.00%> (ø)

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 ab843a1...2b3d56e. Read the comment docs.