Socket
Book a DemoInstallSign in
Socket

channels-auth-token-middlewares

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

channels-auth-token-middlewares

Django Channels auth token middlewares

1.2.0
pipPyPI
Maintainers
1

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.0

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

Explore

Docs

Explore

Tests

Requirements

  • Docker>=19

Usage

Run

$ docker compose -f docker-compose.tests.yml up

Clean

$ docker compose -f docker-compose.tests.yml down

Keywords

django channels middleware

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.