suutari / drf-jwt-2fa

Django Rest Framework JWT 2FA
https://pypi.python.org/pypi/drf-jwt-2fa/
MIT License
20 stars 10 forks source link

Implement throttling #1

Closed suutari closed 6 years ago

suutari commented 6 years ago

Implement throttling of the token endpoints for improved security.

codecov-io commented 6 years ago

Codecov Report

Merging #1 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #1    +/-   ##
======================================
  Coverage     100%   100%            
======================================
  Files          13     15     +2     
  Lines         382    533   +151     
  Branches        7     13     +6     
======================================
+ Hits          382    533   +151
Impacted Files Coverage Δ
drf_jwt_2fa/settings.py 100% <ø> (ø) :arrow_up:
drf_jwt_2fa/utils.py 100% <100%> (ø) :arrow_up:
drf_jwt_2fa/tests/test_token_manager.py 100% <100%> (ø) :arrow_up:
drf_jwt_2fa/tests/utils.py 100% <100%> (ø) :arrow_up:
drf_jwt_2fa/tests/test_throttling.py 100% <100%> (ø)
drf_jwt_2fa/tests/test_endpoints.py 100% <100%> (ø) :arrow_up:
drf_jwt_2fa/token_manager.py 100% <100%> (ø) :arrow_up:
drf_jwt_2fa/throttling.py 100% <100%> (ø)
drf_jwt_2fa/views.py 100% <100%> (ø) :arrow_up:
... and 1 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 276fe50...48bc923. Read the comment docs.