Open tomatoprinx opened 3 years ago
Merging #1038 (fbc7e34) into master (53db620) will decrease coverage by
0.08%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #1038 +/- ##
==========================================
- Coverage 68.54% 68.46% -0.09%
==========================================
Files 90 91 +1
Lines 3526 3529 +3
==========================================
- Hits 2417 2416 -1
- Misses 1109 1113 +4
Impacted Files | Coverage Δ | |
---|---|---|
src/pycontw2016/urls.py | 85.71% <ø> (ø) |
|
src/attendee/api/views.py | 48.00% <100.00%> (ø) |
|
src/events/api/views.py | 43.71% <100.00%> (ø) |
|
src/security/urls.py | 100.00% <100.00%> (ø) |
|
src/sponsors/api/views.py | 41.17% <100.00%> (ø) |
|
src/core/authentication.py | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
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 53db620...fbc7e34. Read the comment docs.
Types of changes
Description
add 2 APIs:
api/token
api/token/refresh
resolves #1035
Steps to Test This Pull Request
Authenticate with JWT access token
api/token/
Authorization: Token <access-token>
access token has expired ↓↓↓
refresh token has expired
Refresh an expired access token
api/token/refresh/
to refresh access tokenresponse
Expected behavior
api/token/
to retrieve access token and refresh tokenapi/token/refresh
to refresh access token when expiredMore Information