Skip to main content

JET - Django APP

Project description

===== Rest Framework JET

Rest Framework JET is a Django app to manage authentication. It can create tokens, verify and refresh them.

Detailed documentation is in the "docs" directory.

Quick start

  1. Install Django Rest Framework.

  2. Add "rest_framework_jet" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [ ... 'rest_framework_jet', ]

  3. Configure JET

    REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': ( 'rest_framework_jet.authentication.JETAuthentication', ) }

    GLOBAL_JET = JET( SECRET = SECRET_KEY )

  4. Include the rest_framework_jet URLconf in your project urls.py like this::

    url(r'^api/token-auth/', generate_jet), url(r'^api/token-verify/', verify_jet), url(r'^api/token-refresh/', refresh_jet),

  5. Start the development server

  6. Visit http://127.0.0.1:8000/api/token-auth/ to authenticate a user and generate a valid token.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-rest-framework-jet-0.0.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django-rest-framework-jet-0.0.4.tar.gz.

File metadata

  • Download URL: django-rest-framework-jet-0.0.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.9

File hashes

Hashes for django-rest-framework-jet-0.0.4.tar.gz
Algorithm Hash digest
SHA256 6a4187c5009ae934f7e59aac903e3d94e6cddaef82d97481a70840e860b3fc9c
MD5 18e9ea53dbce0b12cc1b7ff0416208e1
BLAKE2b-256 52ff536590136e6aa675b42f8343efc1dbbff5b21056122f890c6cbca3a0f7bc

See more details on using hashes here.

Provenance

File details

Details for the file django_rest_framework_jet-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: django_rest_framework_jet-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.9

File hashes

Hashes for django_rest_framework_jet-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 85dbbfbd5013395e43963bb94985d66cbca08e255733d883f1d940d2392579c1
MD5 bc31d0a1892f1827952e5e27b57250a2
BLAKE2b-256 dd29c92b071efc01b5396b3e328ba0800bcc97def97408e21b92b27897d86fbe

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page