65538b0f7d
Use `time.time()` rather than `timezone.now()` for generating the unix timestamps. This avoids conversion between year-month-day-hh-mm-ss formatted timestamp vs. unix timestamp and is therefore simpler and more robust. Add a test case for this too and amend test_token_endpoint, since it used to mock timezone.now, but now it needs to mock time.time. |
||
---|---|---|
.. | ||
endpoints | ||
utils | ||
__init__.py | ||
claims.py | ||
errors.py |