jpadilla / django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework
http://jpadilla.github.io/django-rest-framework-jwt/
MIT License
3.19k stars 649 forks source link

Provide `request` to contrib.auth.authenticate in JSONWebTokenSerializer #388

Open gtnx opened 6 years ago

gtnx commented 6 years ago

refs #387

codecov[bot] commented 6 years ago

Codecov Report

Merging #388 into master will increase coverage by 0.03%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #388      +/-   ##
=========================================
+ Coverage   90.67%   90.7%   +0.03%     
=========================================
  Files          14      14              
  Lines         847     850       +3     
  Branches       29      30       +1     
=========================================
+ Hits          768     771       +3     
  Misses         66      66              
  Partials       13      13
Flag Coverage Δ
#codecov 90.7% <100%> (+0.03%) :arrow_up:
#dj110 87.29% <50%> (-0.2%) :arrow_down:
#dj111 87.29% <50%> (-0.2%) :arrow_down:
#dj18 89.64% <50%> (-0.2%) :arrow_down:
#dj19 89.64% <50%> (-0.2%) :arrow_down:
#drf31 89.64% <50%> (-0.2%) :arrow_down:
#drf32 89.64% <50%> (-0.2%) :arrow_down:
#drf33 89.64% <50%> (-0.2%) :arrow_down:
#drf34 90.7% <100%> (+0.03%) :arrow_up:
#drf35 90.35% <100%> (+0.03%) :arrow_up:
#drf36 90.35% <100%> (+0.03%) :arrow_up:
#py27 90.7% <100%> (+0.03%) :arrow_up:
#py33 89.29% <50%> (-0.2%) :arrow_down:
#py34 89.29% <50%> (-0.2%) :arrow_down:
Impacted Files Coverage Δ
rest_framework_jwt/serializers.py 82.97% <100%> (+0.56%) :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 0a0bd40...8475cef. Read the comment docs.

codecov[bot] commented 6 years ago

Codecov Report

Merging #388 into master will increase coverage by 0.03%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #388      +/-   ##
=========================================
+ Coverage   90.67%   90.7%   +0.03%     
=========================================
  Files          14      14              
  Lines         847     850       +3     
  Branches       29      30       +1     
=========================================
+ Hits          768     771       +3     
  Misses         66      66              
  Partials       13      13
Flag Coverage Δ
#codecov 90.7% <100%> (+0.03%) :arrow_up:
#dj110 87.29% <50%> (-0.2%) :arrow_down:
#dj111 87.29% <50%> (-0.2%) :arrow_down:
#dj18 89.64% <50%> (-0.2%) :arrow_down:
#dj19 89.64% <50%> (-0.2%) :arrow_down:
#drf31 89.64% <50%> (-0.2%) :arrow_down:
#drf32 89.64% <50%> (-0.2%) :arrow_down:
#drf33 89.64% <50%> (-0.2%) :arrow_down:
#drf34 90.7% <100%> (+0.03%) :arrow_up:
#drf35 90.35% <100%> (+0.03%) :arrow_up:
#drf36 90.35% <100%> (+0.03%) :arrow_up:
#py27 90.7% <100%> (+0.03%) :arrow_up:
#py33 89.29% <50%> (-0.2%) :arrow_down:
#py34 89.29% <50%> (-0.2%) :arrow_down:
Impacted Files Coverage Δ
rest_framework_jwt/serializers.py 82.97% <100%> (+0.56%) :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 0a0bd40...8475cef. Read the comment docs.

codecov[bot] commented 6 years ago

Codecov Report

Merging #388 into master will increase coverage by 0.03%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #388      +/-   ##
=========================================
+ Coverage   90.67%   90.7%   +0.03%     
=========================================
  Files          14      14              
  Lines         847     850       +3     
  Branches       29      30       +1     
=========================================
+ Hits          768     771       +3     
  Misses         66      66              
  Partials       13      13
Flag Coverage Δ
#codecov 90.7% <100%> (+0.03%) :arrow_up:
#dj110 87.29% <50%> (-0.2%) :arrow_down:
#dj111 87.29% <50%> (-0.2%) :arrow_down:
#dj18 89.64% <50%> (-0.2%) :arrow_down:
#dj19 89.64% <50%> (-0.2%) :arrow_down:
#drf31 89.64% <50%> (-0.2%) :arrow_down:
#drf32 89.64% <50%> (-0.2%) :arrow_down:
#drf33 89.64% <50%> (-0.2%) :arrow_down:
#drf34 90.7% <100%> (+0.03%) :arrow_up:
#drf35 90.35% <100%> (+0.03%) :arrow_up:
#drf36 90.35% <100%> (+0.03%) :arrow_up:
#py27 90.7% <100%> (+0.03%) :arrow_up:
#py33 89.29% <50%> (-0.2%) :arrow_down:
#py34 89.29% <50%> (-0.2%) :arrow_down:
Impacted Files Coverage Δ
rest_framework_jwt/serializers.py 82.97% <100%> (+0.56%) :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 0a0bd40...c3fd1d6. Read the comment docs.