Metadata-Version: 2.1
Name: django-token-tools
Version: 0.2.0
Summary: Suite of Django tools around token authentication.
Home-page: https://github.com/Terralego/django-token-tools.git
Author: Makina Corpus
Author-email: terralego-pypi@makina-corpus.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.0
Classifier: Framework :: Django :: 4.1
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

# django-token-tools

Suite of Django tools around token authentication

### Settings

#### TOKEN_TIMEOUT

Validity time of a token in seconds.

### token_tools.generator.TokenGenerator

This module is a generic version of the token generator used by django for
reset password URLs.
You should implement `token_idb64` and `_make_hash_value` to make it work.

#### token_idb64

This method must return a base64 encoded data, it's used to validate the token, and can embed data.
It must not embed critical data, it can be simply decoded.

#### _make_hash_value

This is the hash value, it must be unique by user. It will be used to generate the token, and to validate a token
with idb64 content.


0.2.0
---------------------------

* Use default settings for TOKEN_TIMEOUT
* Support Dajngo 4.1
* Support Python 3.10
* Move CI to github actions


0.1.2           (2019-12-17)
----------------------------

* Documentation improvement
* add support for django 3.0 and python 3.8


0.1.0  (2019-10-15)
-------------------

* First release


