{ "info": { "author": "Alexander Likhachev", "author_email": "likhachev96@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Simple Twitch auth\n==================\n\n| Wanna enable your awesome Django application to register and\n authenticate user using Twitch profiles?\n| This application was created especially for your needs\n\nFeatures\n--------\n\n- Easy to use\n- Ready to Twitch channel name changes\n- Username cases are synchronized to Twitch display\\_name\n- User emails are synchronized to Twitch\n\nInstallation\n------------\n\nEnsure that `Django \u2018sites\u2019 framework`_ is enabled.\n\nPython package:\n~~~~~~~~~~~~~~~\n\n::\n\n pip install django-simpletwitchauth\n\nsettings.py:\n~~~~~~~~~~~~\n\nAdd ``twitch_auth`` to INSTALLED\\_APPS\n\nAdd ``twitch_auth.backends.OAuth2Backend`` to AUTHENTICATION\\_BACKENDS\n\nSet `Twitch application`_ settings\n\nExample using django-environ:\n\n::\n\n env = environ.Env()\n\n TWITCH_AUTH_CLIENT_ID = env('TWITCH_CLIENT_ID', default='some_client_id')\n TWITCH_AUTH_CLIENT_SECRET = env('TWITCH_CLIENT_SECRET', default='some_client_secret')\n\nAll available settings:\n^^^^^^^^^^^^^^^^^^^^^^^\n\nTWITCH\\_AUTH\\_SCOPE\n'''''''''''''''''''\n\nDefines OAuth2 token scope\n\nDefaults to ``user_read``\n\nTWITCH\\_AUTH\\_PROTOCOL\n''''''''''''''''''''''\n\nDefines protocol that is used to build full authentication callback URI\n\nDefaults to ``http://``\n\nTWITCH\\_AUTH\\_CLIENT\\_ID\n''''''''''''''''''''''''\n\nDefines Twitch application client ID\n\nTWITCH\\_AUTH\\_CLIENT\\_SECRET\n''''''''''''''''''''''''''''\n\nDefines Twitch application client secret\n\nTWITCH\\_AUTH\\_REDIRECT\\_URI\n'''''''''''''''''''''''''''\n\nDefines default redirect URI after successful authentication\n\nDefaults to ``/``\n\nUsage\n-----\n\n- Run migrations to create database tables for entities.\n- Add somewhere in your templates link to url ``login_twitch``\n\n.. _Django \u2018sites\u2019 framework: https://docs.djangoproject.com/en/1.11/ref/contrib/sites/\n.. _Twitch application: https://www.twitch.tv/settings/connections\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/ALikhachev/django-simpletwitchauth", "keywords": "django auth authentication twitch external api", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-simpletwitchauth", "package_url": "https://pypi.org/project/django-simpletwitchauth/", "platform": "", "project_url": "https://pypi.org/project/django-simpletwitchauth/", "project_urls": { "Homepage": "https://github.com/ALikhachev/django-simpletwitchauth" }, "release_url": "https://pypi.org/project/django-simpletwitchauth/1.0/", "requires_dist": [ "Django (>=1.8)", "requests" ], "requires_python": "", "summary": "Use this simple module to easily enable authorization in your Django application via Twitch API", "version": "1.0" }, "last_serial": 3006428, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "a492cda32a9fcf419ac6c726f4cfd612", "sha256": "abe9c988a07ef58501e2445f1488451e0fe281b582405100423f4b4b20dfe33b" }, "downloads": -1, "filename": "django_simpletwitchauth-1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a492cda32a9fcf419ac6c726f4cfd612", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12875, "upload_time": "2017-07-07T15:03:20", "url": "https://files.pythonhosted.org/packages/b9/7a/8e9757ad2414f278e1138dcc925b3c83991bb709f14f22dab40814a610a7/django_simpletwitchauth-1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3a38437b6147e4711f6664b2bcb99417", "sha256": "127ef54afa6364af9476ef2c4847a7db540a2822c4b1f12b148299dd4c7fcf65" }, "downloads": -1, "filename": "django-simpletwitchauth-1.0.tar.gz", "has_sig": false, "md5_digest": "3a38437b6147e4711f6664b2bcb99417", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6956, "upload_time": "2017-07-07T15:03:23", "url": "https://files.pythonhosted.org/packages/c8/44/9a4f35d6633bfceb82f1eea1717e50070b38ba24df9e36db23c23fb05a42/django-simpletwitchauth-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a492cda32a9fcf419ac6c726f4cfd612", "sha256": "abe9c988a07ef58501e2445f1488451e0fe281b582405100423f4b4b20dfe33b" }, "downloads": -1, "filename": "django_simpletwitchauth-1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a492cda32a9fcf419ac6c726f4cfd612", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12875, "upload_time": "2017-07-07T15:03:20", "url": "https://files.pythonhosted.org/packages/b9/7a/8e9757ad2414f278e1138dcc925b3c83991bb709f14f22dab40814a610a7/django_simpletwitchauth-1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3a38437b6147e4711f6664b2bcb99417", "sha256": "127ef54afa6364af9476ef2c4847a7db540a2822c4b1f12b148299dd4c7fcf65" }, "downloads": -1, "filename": "django-simpletwitchauth-1.0.tar.gz", "has_sig": false, "md5_digest": "3a38437b6147e4711f6664b2bcb99417", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6956, "upload_time": "2017-07-07T15:03:23", "url": "https://files.pythonhosted.org/packages/c8/44/9a4f35d6633bfceb82f1eea1717e50070b38ba24df9e36db23c23fb05a42/django-simpletwitchauth-1.0.tar.gz" } ] }