django-oidc-provider/oidc_provider/lib
Tuomas Suutari 65538b0f7d utils.token: Use time.time to generate the timestamps
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.
2016-12-07 14:22:20 +02:00
..
endpoints Fix TypeError Unicode when using hashlib. 2016-11-04 15:56:51 -03:00
utils utils.token: Use time.time to generate the timestamps 2016-12-07 14:22:20 +02:00
__init__.py Change name of the package. 2015-02-18 15:07:22 -03:00
claims.py Fix translations handling 2016-11-24 13:09:19 +01:00
errors.py Refactoring userinfo endpoint. Create decorator "oauth2.protected_resource_view". 2016-02-15 17:13:19 -03:00