Skip to main content

Extensions for the djangorestframework-simplejwt library.

Settings

All pre-existing settings for djangorestframework-simplejwt are unchanged. The following settings are added and can be set in your settings.py file:

# Django project settings.py

...

SIMPLE_JWT = {
    ...
    'NEW_USER_CALLBACK': None,
}

NEW_USER_CALLBACK

A dot path to a callable that is used if the identifier from the token does not match a user in the database. Receives the request and the identifier as arguments. Should return None to fail authentication or a User object to succeed. Will only be used by the JWTAuthentication backend.

Backends

JWTTokenAuthentication

Use this instead of the djangorestframework-simplejwt JWTTokenAuthentication backend to take advantage of features added by this package.

Metadata

Release files for simplejwt-extensions 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simplejwt-extensions 0.2.5
File Size Uploaded Provenance
simplejwt-extensions-0.2.5.tar.gz 2.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for simplejwt-extensions 0.2.5
File Interpreter ABI Platform
simplejwt_extensions-0.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / simplejwt-extensions-0.2.5.tar.gz

Download URL simplejwt-extensions-0.2.5.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5badedaca11a00db2b9ee986081698528fa1e7ed45e2baba5ffebf63fa28eef4
BLAKE2b-256 checksum
How to use checksums
7d6bde9814792e990b8d1bf490ead7f936f49f15abcfc2ebde9dd802cfd8c0ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.7.9 Linux/5.8.0-53-generic

Release files / simplejwt_extensions-0.2.5-py3-none-any.whl

Download URL simplejwt_extensions-0.2.5-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f950197cb0f1d83e54db9e0373cc6c26f1a4f16af684614a2b1b741dc533bbf4
BLAKE2b-256 checksum
How to use checksums
622472c7e96b8cce61c573b8453732d91a3671ac74104f725d685202c337e8ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.7.9 Linux/5.8.0-53-generic

Security for simplejwt-extensions 0.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page