{ "info": { "author": "Hassan Kadhem", "author_email": "hassan.kadhem@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.10", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=====\nCustom Remote User\n=====\n\nCustom Remote User is a Django app that extends remote user authentication\nenabling custom common behavior. The app currently offers only a case-insensitive\nbackend `CaseInsensitiveRemoteUserBackend`.\n\n`CaseInsensitiveRemoteUserBackend` guarantees that all users created using an \nexternal authentication service are created with an all-lower case username.\nThis is important because some external authentication services return a \ncase-sensitive username upon login. This is problematic with Django as the built-in\nuser model is case-sensitive. This means a single remote user may have two different\nrecords in that database (e.g. 'Username' is different than 'username').\n\n\nQuick start\n-----------\n\n1. Add \"custom_remote_user\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = [\n ...\n 'custom_remote_user',\n ]\n\n2. Add CaseInsensitiveRemoteUserBackend::\n\n AUTHENTICATION_BACKENDS = [\n 'custom_remote_user.backends.CaseInsensitiveRemoteUserBackend',\n ]\n\n3. Add the required middlewares for remote user authentication::\n\n MIDDLEWARE = [\n ...\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.auth.middleware.RemoteUserMiddleware',\n ...\n ]\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/HassanKadhem/django-custom-remote-user", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-custom-remote-user", "package_url": "https://pypi.org/project/django-custom-remote-user/", "platform": "", "project_url": "https://pypi.org/project/django-custom-remote-user/", "project_urls": { "Homepage": "https://github.com/HassanKadhem/django-custom-remote-user" }, "release_url": "https://pypi.org/project/django-custom-remote-user/0.3/", "requires_dist": null, "requires_python": "", "summary": "A simple Django app to enable custom behavior for remote user authentication", "version": "0.3" }, "last_serial": 4216159, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "d3e7efba4f0a5f7a3db6a3d600d07114", "sha256": "4fa95af66dc99a7aa44666aa1c123d286f1a86f1bdffe73bacbadb33a32c46b8" }, "downloads": -1, "filename": "django_custom_remote_user-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d3e7efba4f0a5f7a3db6a3d600d07114", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2567, "upload_time": "2018-08-28T18:52:39", "url": "https://files.pythonhosted.org/packages/1b/5c/77c7df4a80129a66b201c18e15b3459441549780a507d2a29cc62b45eb93/django_custom_remote_user-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "27fd7aa6033114f57a3ad2045ef3485f", "sha256": "3ccba5286932339b19fe980eebdb717caaa67c27b8b1daee9ffaa280be0e3d0a" }, "downloads": -1, "filename": "django-custom-remote-user-0.3.tar.gz", "has_sig": false, "md5_digest": "27fd7aa6033114f57a3ad2045ef3485f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2112, "upload_time": "2018-08-28T18:52:42", "url": "https://files.pythonhosted.org/packages/6c/f5/1b59e1077176fea3ba117a2bc1d4e92c56e48cd0a1cfee7dd23e4fed4a02/django-custom-remote-user-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d3e7efba4f0a5f7a3db6a3d600d07114", "sha256": "4fa95af66dc99a7aa44666aa1c123d286f1a86f1bdffe73bacbadb33a32c46b8" }, "downloads": -1, "filename": "django_custom_remote_user-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d3e7efba4f0a5f7a3db6a3d600d07114", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2567, "upload_time": "2018-08-28T18:52:39", "url": "https://files.pythonhosted.org/packages/1b/5c/77c7df4a80129a66b201c18e15b3459441549780a507d2a29cc62b45eb93/django_custom_remote_user-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "27fd7aa6033114f57a3ad2045ef3485f", "sha256": "3ccba5286932339b19fe980eebdb717caaa67c27b8b1daee9ffaa280be0e3d0a" }, "downloads": -1, "filename": "django-custom-remote-user-0.3.tar.gz", "has_sig": false, "md5_digest": "27fd7aa6033114f57a3ad2045ef3485f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2112, "upload_time": "2018-08-28T18:52:42", "url": "https://files.pythonhosted.org/packages/6c/f5/1b59e1077176fea3ba117a2bc1d4e92c56e48cd0a1cfee7dd23e4fed4a02/django-custom-remote-user-0.3.tar.gz" } ] }