{ "info": { "author": "Renjith S Raj", "author_email": "renjith.r@tringapps.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet" ], "description": "TgAuth [ Telegram Authentication ]\n\nWhat is Telegram ?\n=========================================================================\n\nTelegram is a messaging app with a focus on speed and security, it\u2019s super-fast, simple and free. You can use Telegram on all your devices at the same time \u2014 your messages sync seamlessly across any number of your phones, tablets or computers.\nclick this link for read more about Telegram. https://telegram.org/faq#q-what-is-telegram-what-do-i-do-here\n\nWhat is Tgauth ? \n============================================================================\n\nTgauth is a package for authentication and authorization with Telegram Messenger. its provide the Token Based Authentication.\n\nDependencies\n============================================================================\n\npython requests module \nCreate the Bot in telegram [ username and access token is needed ]\n\nDependency Package Installation\n============================================================================\n\npip install requests\n\nDemo Project\n============================================================================\n\nClick this link : https://tgauth.herokuapp.com/ \n\nInstallation\n============================================================================\n\nFrom Pypi.\n\t\npip install tgauth\neasy_install tgauth\n\nFrom Github :\n\t\n clone tgauth from githib : https://github.com/renjith-tring/tgauth\nHow It Works ?\n============================================================================\n\nStep by Step workflow\n\nUser click the Login With Telegram Button or http:// /tgauth/ ( eg: http://localhost:8000/tgauth/ )\n\nRedirect to User Web version Telegram Account. ( http://www.awesomescreenshot.com/image/1064358/5a5e0e053c278d1cb88392460f75e7f3 )\n\nClick the start Button in Telegram ( \nhttp://www.awesomescreenshot.com/image/1064361/2a3c3549174ab6c717d6e2d67e4f89ff\n)\n 4 . Click the link , it will redirect to the Server and ask for the Enter the OTP password\n ( http://www.awesomescreenshot.com/image/1064371/2954a708f030bfbc3b620f7cb0bb1d84\nhttp://www.awesomescreenshot.com/image/1064373/a18a22e1a24cfad67b96f52df75d2298\n)\n 5. if user enter valid OTP it will redirect to the success page (\nhttp://www.awesomescreenshot.com/image/1064376/1a3a43ccbd877c6be498702ebae6c58d\n)\n\n\nConfiguration\n============================================================================\n\nStep 1 :\n\nTemplate settings:\n\nDownload the tglogin.html from github : https://github.com/renjith-tring/tgauth/blob/master/tgauth/templates/tglogin.html\n\nSettings.py \n\nTGAUTH_TOKEN = \"*****************************************************\" // token for your bot\n\nTGAUTH_BOT_USERNAME = \"********************************\" // username for your bot\n\nTG_AUTH_SITE_URL = \"http://127.0.0.1:8000/\" // site url like www.example.com \n\nTG_SUCCESS_URL = \u201c \u201d // redirect url after authentication , default it will display the dummy page with username after successful authentication\n\n 5 . INSTALLED_APPS = (\n 'tgauth',\n )\n\n\nUrl.py \n\n from django.conf.urls import patterns, include, url\n from django.views.generic import TemplateView\n from django.contrib import admin\n admin.autodiscover()\n urlpatterns = patterns('',\n\n url(r'^', include('tgauth.urls'))\n )\n\n\nStep 2 :\npython manage.py syncdb/migrate", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/renjith-tring/tgauth", "keywords": "django,oauth,telegram auth,python telegram,telegram bot auth", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "tgauth", "package_url": "https://pypi.org/project/tgauth/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tgauth/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/renjith-tring/tgauth" }, "release_url": "https://pypi.org/project/tgauth/1.1.1/", "requires_dist": null, "requires_python": null, "summary": "Tgauth is a package for authentication and authorization with Telegram Messenger. its provide the Token Based Authentication.", "version": "1.1.1" }, "last_serial": 1996958, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "89ac1d2b94b9ef795bfa8db598e7e888", "sha256": "896b8bfca4d538e5635c5e196dc3044c4957208b44fe63747eed3daad21fc587" }, "downloads": -1, "filename": "tgauth-1.0.tar.gz", "has_sig": false, "md5_digest": "89ac1d2b94b9ef795bfa8db598e7e888", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6672, "upload_time": "2016-03-09T08:30:24", "url": "https://files.pythonhosted.org/packages/76/f3/bfd385abbf9624e943f89558e34ca8a9ca141f7191e435b5ae472e2cb52b/tgauth-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "512bdf3892e68bd62e1ca1e1c40e5fbf", "sha256": "b0d59638bace56812ff2bb83860df4e19b417cd9680030aafb7ab467d84d7f98" }, "downloads": -1, "filename": "tgauth-1.1.tar.gz", "has_sig": false, "md5_digest": "512bdf3892e68bd62e1ca1e1c40e5fbf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6716, "upload_time": "2016-03-09T08:46:35", "url": "https://files.pythonhosted.org/packages/8a/ad/3fc3d3ad5e822dd63bf1354a6702caf37f16f1cf2508783231ad881bec47/tgauth-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "3973b322e81a3dec8740017ae81ee974", "sha256": "4c0b941e69836cabcfb42ac3b0b0c3c0fdf0ecb0b3474463b04567c81a491c73" }, "downloads": -1, "filename": "tgauth-1.1.1.tar.gz", "has_sig": false, "md5_digest": "3973b322e81a3dec8740017ae81ee974", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6739, "upload_time": "2016-03-09T08:53:02", "url": "https://files.pythonhosted.org/packages/aa/f1/4bf04a0f47227307469b56a015a645827a2da87e5b98c9aceed6ea6dfdc5/tgauth-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3973b322e81a3dec8740017ae81ee974", "sha256": "4c0b941e69836cabcfb42ac3b0b0c3c0fdf0ecb0b3474463b04567c81a491c73" }, "downloads": -1, "filename": "tgauth-1.1.1.tar.gz", "has_sig": false, "md5_digest": "3973b322e81a3dec8740017ae81ee974", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6739, "upload_time": "2016-03-09T08:53:02", "url": "https://files.pythonhosted.org/packages/aa/f1/4bf04a0f47227307469b56a015a645827a2da87e5b98c9aceed6ea6dfdc5/tgauth-1.1.1.tar.gz" } ] }