Django Channels auth token middlewares
Provides Django REST framework token authentication middleware, Simple JWT middleware and easily extendable middlewares to work with auth tokens placed in request headers, cookie and query string.
Requirements
- Channels>=4.1
Install
$ pip install channels-auth-token-middlewares- Add app name to
INSTALLED_APPS
INSTALLED_APPS = [
# base django apps (django.contrib.auth is required)
# other apps this one depends on (like rest_framework if it's necessary)
'channels_auth_token_middlewares',
# custom apps
]
Tutorial
Docs
Tests
Requirements
- Docker>=19
Usage
Run
$ docker compose -f docker-compose.tests.yml up
Clean
$ docker compose -f docker-compose.tests.yml down
Metadata
Release files for channels-auth-token-middlewares 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| channels_auth_token_middlewares-1.3.1.tar.gz | 7.6 kB | Without provenance | Details for channels_auth_token_middlewares-1.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| channels_auth_token_middlewares-1.3.1-py3-none-any.whl | Python 3 | none | any | Details for channels_auth_token_middlewares-1.3.1-py3-none-any.whl |
Total release size: 18.3 kB
Release files / channels_auth_token_middlewares-1.3.1.tar.gz
| Download URL | channels_auth_token_middlewares-1.3.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41e341858584de80b262508140ae7c783f61d84d548757fd01894e4da949bb5c
|
|
BLAKE2b-256 checksum How to use checksums |
46103df99b809186ceb7adb1bdc16a156218283617c47754c058a4fbcbe892a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / channels_auth_token_middlewares-1.3.1-py3-none-any.whl
| Download URL | channels_auth_token_middlewares-1.3.1-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8775fc3ca222e0c2087d9710722d36ebd36225c14f5cc5c1d2dd3c781c591d23
|
|
BLAKE2b-256 checksum How to use checksums |
8012e7941c8d7bc26e62d0171ffa11440cf54edc0fa171475ca837896b67fda1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for channels-auth-token-middlewares 1.3.1
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.