channels-auth-token-middlewares


Namechannels-auth-token-middlewares JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/YegorDB/django-channels-auth-token-middlewares
SummaryDjango Channels auth token middlewares
upload_time2023-06-13 21:38:08
maintainer
docs_urlNone
authorYegor Bitensky
requires_python>=3.6
license
keywords django channels middleware
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Django Channels auth token middlewares

> Provides Django REST framework [token authentication](https://www.django-rest-framework.org/api-guide/authentication/#tokenauthentication) middleware, [Simple JWT](https://django-rest-framework-simplejwt.readthedocs.io/en/latest/index.html) middleware and easily extendable middlewares to work with auth tokens placed in request headers, cookie and query string.


## Requirements
- Python>=3.6
- Channels>=3


## Install
1. `$ pip install channels-auth-token-middlewares`
2. Add app name to `INSTALLED_APPS`
```python
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](tutorial)


## Docs
[Explore](docs)


## Tests

### Requirements
- Docker>=19
- docker-compose>=1.25

### Usage

#### Run
`$ docker-compose -f docker-compose.tests.yml up`

#### Clean
`$ docker-compose -f docker-compose.tests.yml down`

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/YegorDB/django-channels-auth-token-middlewares",
    "name": "channels-auth-token-middlewares",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "django channels middleware",
    "author": "Yegor Bitensky",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/44/f0/f42a5f13f3f5410832378554df0e9d7ace32b7a92e56270c019f109e770a/channels_auth_token_middlewares-1.1.0.tar.gz",
    "platform": null,
    "description": "# Django Channels auth token middlewares\n\n> Provides Django REST framework [token authentication](https://www.django-rest-framework.org/api-guide/authentication/#tokenauthentication) middleware, [Simple JWT](https://django-rest-framework-simplejwt.readthedocs.io/en/latest/index.html) middleware and easily extendable middlewares to work with auth tokens placed in request headers, cookie and query string.\n\n\n## Requirements\n- Python>=3.6\n- Channels>=3\n\n\n## Install\n1. `$ pip install channels-auth-token-middlewares`\n2. Add app name to `INSTALLED_APPS`\n```python\nINSTALLED_APPS = [\n    # base django apps (django.contrib.auth is required)\n    # other apps this one depends on (like rest_framework if it's necessary)\n    'channels_auth_token_middlewares',\n    # custom apps\n]\n```\n\n## Tutorial\n[Explore](tutorial)\n\n\n## Docs\n[Explore](docs)\n\n\n## Tests\n\n### Requirements\n- Docker>=19\n- docker-compose>=1.25\n\n### Usage\n\n#### Run\n`$ docker-compose -f docker-compose.tests.yml up`\n\n#### Clean\n`$ docker-compose -f docker-compose.tests.yml down`\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Django Channels auth token middlewares",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://github.com/YegorDB/django-channels-auth-token-middlewares"
    },
    "split_keywords": [
        "django",
        "channels",
        "middleware"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "37bae08c0bb0d5c082301171ce3b5259514737c98debfc38fbe182f8edad1660",
                "md5": "1b1ab03515f88fa6d34370ad4e060b24",
                "sha256": "4f0359d906b6acd56d97f508793f3aff89b09d5574f9f4865ac310af6160adb2"
            },
            "downloads": -1,
            "filename": "channels_auth_token_middlewares-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1b1ab03515f88fa6d34370ad4e060b24",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 10968,
            "upload_time": "2023-06-13T21:38:05",
            "upload_time_iso_8601": "2023-06-13T21:38:05.237492Z",
            "url": "https://files.pythonhosted.org/packages/37/ba/e08c0bb0d5c082301171ce3b5259514737c98debfc38fbe182f8edad1660/channels_auth_token_middlewares-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "44f0f42a5f13f3f5410832378554df0e9d7ace32b7a92e56270c019f109e770a",
                "md5": "a8dc71e71be51358c7d63bc745365074",
                "sha256": "6dd6103b24674df721f2e2e279f2dec9de59bf14d7db92e8065e8f53b3e990a7"
            },
            "downloads": -1,
            "filename": "channels_auth_token_middlewares-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a8dc71e71be51358c7d63bc745365074",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 8191,
            "upload_time": "2023-06-13T21:38:08",
            "upload_time_iso_8601": "2023-06-13T21:38:08.013401Z",
            "url": "https://files.pythonhosted.org/packages/44/f0/f42a5f13f3f5410832378554df0e9d7ace32b7a92e56270c019f109e770a/channels_auth_token_middlewares-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-13 21:38:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "YegorDB",
    "github_project": "django-channels-auth-token-middlewares",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "channels-auth-token-middlewares"
}
        
Elapsed time: 1.26306s