{ "info": { "author": "Christoph Wick", "author_email": "wick.chr.info@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.7", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "# django-http-authorization\n\nThis django app adds decorators that fall back to a HTTP_AUTHORIAZATION instead of a django login form.\nThis can be used for programs that want to interact with your web page but require login.\nE. g. to download a password protected file via wget or access an internal icalendar.\n\nThe HTTP_AUTHORIZATION relys on `django.contrib.auth.authenticate`.\n\n## Usage\n\nImport the decorators\n```\nfrom http_authentication.decorators import http_authorization_staff_member_required, http_authorization_login_required\n```\nand add it to the view functions\n```\n@http_authorization_staff_member_required\ndef protected_view(request):\n return HttpResponse(\"This page can also be accessed via HTTP_AUTHORIZATION\")\n\n```\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chwick/django-http-authorization", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-http-authentication", "package_url": "https://pypi.org/project/django-http-authentication/", "platform": "", "project_url": "https://pypi.org/project/django-http-authentication/", "project_urls": { "Homepage": "https://github.com/chwick/django-http-authorization" }, "release_url": "https://pypi.org/project/django-http-authentication/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "A django application that adds decorators to allow authentication via HTTP_AUTHORIZATION.", "version": "0.0.1" }, "last_serial": 3137946, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "ab5ca7ce92256d2ed68ae7257306532e", "sha256": "22f5cdb8d74b76f6ee4c291f4b77b7c05af9e08b6c793fc027578b76458ca6d7" }, "downloads": -1, "filename": "django-http-authentication-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ab5ca7ce92256d2ed68ae7257306532e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2590, "upload_time": "2017-08-31T15:37:46", "url": "https://files.pythonhosted.org/packages/0c/e6/a328c834ce1f135cb4cb731143bb0989d56f4774e17972648e3a15cf6a49/django-http-authentication-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ab5ca7ce92256d2ed68ae7257306532e", "sha256": "22f5cdb8d74b76f6ee4c291f4b77b7c05af9e08b6c793fc027578b76458ca6d7" }, "downloads": -1, "filename": "django-http-authentication-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ab5ca7ce92256d2ed68ae7257306532e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2590, "upload_time": "2017-08-31T15:37:46", "url": "https://files.pythonhosted.org/packages/0c/e6/a328c834ce1f135cb4cb731143bb0989d56f4774e17972648e3a15cf6a49/django-http-authentication-0.0.1.tar.gz" } ] }