Skip to main content

django-multi-auth-token

This package allows multi token authentication for Django Rest Framework(DRF)

Quick start

1. Add “multi_auth_token” to your INSTALLED_APPS setting like this:: `` INSTALLED_APPS = [ … ‘multi_auth_token’, ] ``

2. Add “multi_auth_token.authentication.MultiTokenAuthentication” to “DEFAULT_AUTHENTICATION_CLASSES” like this: `` REST_FRAMWORK = { ‘DEFAULT_AUTHENTICATION_CLASSES’: [ ‘multi_auth_token.authentication.MultiTokenAuthentication’, … ] } ``

3. Migrate `` python manage.py migrate ``

IMPORTANT

  1. DO NOT add “rest_framework.authtoken” to your INSTALLED_APPS.

  2. DO NOT add “rest_framework.authentication.TokenAuthentication” to DEFAULT_AUTHENTICATION_CLASSES

TODO

Changelog

1.0.0 - 2023-03-01 Arindam Dutta - First release

Copyright(c) 2023 Arindam Dutta

Metadata

Release files for django-multi-auth-token 1.0.0

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

Source distribution (sdist)

Source distribution for django-multi-auth-token 1.0.0
File Size Uploaded Provenance
django-multi-auth-token-1.0.0.tar.gz 4.2 kB Without provenance Details

Release files / django-multi-auth-token-1.0.0.tar.gz

Download URL django-multi-auth-token-1.0.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
05bc494cc3c70c5483d0e24c7fc72caef4629dc82cb0bcb5d51f757fbff98bd1
BLAKE2b-256 checksum
How to use checksums
6c0ccb6090bc7bc9c9df9cf342b2eebcda20ac83e463d2fd46628fc3829d41f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for django-multi-auth-token 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

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