{ "info": { "author": "Assem Chelli", "author_email": "assem.ch@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "# drf-accountkit\nThis package enables the use of Facebook Accountkit for Django Rest Framework\n\nIf you want to know more about Facebook Accountkit, check out the following resources\n- https://auth0.com/blog/facebook-account-kit-passwordless-authentication/\n- https://developers.facebook.com/docs/accountkit\n\n\n## Installation & Configuration\n\n\tpip install drf-accountkit\n\nThen to add the Django Accountkit to your project add the app `drf_accountkit` to your `INSTALLED_APPS`\n\nAnd add `drf_accountkit` URLconf to your `url.py` like this:\n\n path('[YOUR_PREFIX]/', include('drf_accountkit.urls')),\n\n\nNow add the following settings in your settings.py file\n\n\n\tFACEBOOK_APP_ID = \n\tACCOUNT_KIT_APP_SECRET = \n\tACCOUNT_KIT_VERSION = \"v1.0\"\n\n## Usage\n\nYou have to configure account kit in your frontend and specify `[YOUR_PREFIX]/login_success` as the success url.\n\nYou either send to login success as POST (or GET) those info:\n- `access_token`\n\nor\n\n- `code`, `state`, `status`\n\nYou will get as result:\n- **Successful:** API status 200 or 201\n - `token`\n - `user_id`\n- **Refusal:** API status 401\n - `message`\n\n\n## Costumization\nYou can overide methods of `LoginSuccess` API view like:\n - `get_username(phone, email)` to costumize the username to be stored\n - `response(user, token)` to costumize the response of endpoint\n\n\n### This is project is based on\n\n- The django implementation of accountkit at https://github.com/antiproblemist/django-accountkit\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/assem-ch/drf-accountkit", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "drf-accountkit", "package_url": "https://pypi.org/project/drf-accountkit/", "platform": "", "project_url": "https://pypi.org/project/drf-accountkit/", "project_urls": { "Homepage": "https://github.com/assem-ch/drf-accountkit" }, "release_url": "https://pypi.org/project/drf-accountkit/0.2.3/", "requires_dist": null, "requires_python": "", "summary": "DRF AccountKit is the wrapper to use facebook account kit to authenticate first time in Django REST Framework", "version": "0.2.3" }, "last_serial": 5235588, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ac14cbf62721cb97c133674e36cc3165", "sha256": "92ebe9b991a7b6ccbfd3c5117ce3ccb98c163c43c70b627041d2caca4047d9b9" }, "downloads": -1, "filename": "drf-accountkit-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ac14cbf62721cb97c133674e36cc3165", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4635, "upload_time": "2019-03-14T04:33:58", "url": "https://files.pythonhosted.org/packages/bb/6b/db6b930913dc25a45baac1440abb9d1c46a258f4fa15a2a05f76b60afd59/drf-accountkit-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8b4e2599c108a8e69af562861037585c", "sha256": "35653d40e9536ce0bea33fe6936dad8829f9b4fd2d8beb0007b37220e35a063d" }, "downloads": -1, "filename": "drf-accountkit-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8b4e2599c108a8e69af562861037585c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4475, "upload_time": "2019-03-14T04:47:28", "url": "https://files.pythonhosted.org/packages/bc/31/6cf2d960309dbbd91223b50271932107089ca0749a7c811e813f241045e2/drf-accountkit-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d601c0dc782a2a4bbdb171c9ee7c6849", "sha256": "b34c29ec474d69956c730af57fe5824684f4061dd154353ec15e52fe993faf7f" }, "downloads": -1, "filename": "drf-accountkit-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d601c0dc782a2a4bbdb171c9ee7c6849", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4527, "upload_time": "2019-03-16T14:42:44", "url": "https://files.pythonhosted.org/packages/1d/59/d7246072441cdd755afff32cc6bb80218c1bb15f7e834bd80c6eccb76341/drf-accountkit-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "328b697bf52a02f7312f60c181aac334", "sha256": "ba309972b4d237fd4df12f97e9f991b8c78e92943b24d3b0bdf805e06d5497b5" }, "downloads": -1, "filename": "drf-accountkit-0.1.3.tar.gz", "has_sig": false, "md5_digest": "328b697bf52a02f7312f60c181aac334", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4522, "upload_time": "2019-03-16T15:08:11", "url": "https://files.pythonhosted.org/packages/10/12/1ff9546ff30fd06e2e5479ad53190c2346765bfdc1a0ea3fb748e64f06cc/drf-accountkit-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "a50ef7e58bb668efdfc2b45746ceb4a9", "sha256": "f069535abf939922fb25f9fe6879db1351f7834ae8fc54768417f7f7a4abbbfe" }, "downloads": -1, "filename": "drf-accountkit-0.1.4.tar.gz", "has_sig": false, "md5_digest": "a50ef7e58bb668efdfc2b45746ceb4a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4549, "upload_time": "2019-03-16T15:47:12", "url": "https://files.pythonhosted.org/packages/0d/d0/db6485f47111aea56280ed8677b958734aa90ff0c311360aad2999c2ec40/drf-accountkit-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "c5d3d01a1fdfd96cf3d4a52fa7c9577a", "sha256": "4721e4a0f7445f314cf015ccd9f32cf2d3d4d2f347297a6dff5159aedbffe900" }, "downloads": -1, "filename": "drf-accountkit-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c5d3d01a1fdfd96cf3d4a52fa7c9577a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4681, "upload_time": "2019-03-16T19:43:11", "url": "https://files.pythonhosted.org/packages/10/00/779e1b60d5b37ff7deac3177d05a18035c2f9fe53f77f6e500728532aed7/drf-accountkit-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "7cc894d252718f03f76748ac499c5ddc", "sha256": "2018c4991441cbc617e3a0dafabc4a07d119446558b41fdb97458cb6a9d38e3e" }, "downloads": -1, "filename": "drf-accountkit-0.2.1.tar.gz", "has_sig": false, "md5_digest": "7cc894d252718f03f76748ac499c5ddc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4672, "upload_time": "2019-03-16T19:55:27", "url": "https://files.pythonhosted.org/packages/4a/f7/a099dcf62d873704ec8255251fb3aa1c5e1112d07d4ca6476bf7919cedbf/drf-accountkit-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "270c5f1d48af395282ca0c21a11fdf95", "sha256": "b66f017ee601d5e8fcd5100095f7adcc6cc7fad1b9792aa3dc89de3db75d783e" }, "downloads": -1, "filename": "drf-accountkit-0.2.2.tar.gz", "has_sig": false, "md5_digest": "270c5f1d48af395282ca0c21a11fdf95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4679, "upload_time": "2019-03-16T20:22:26", "url": "https://files.pythonhosted.org/packages/c2/21/c392bf8546b8023105e73193799bef919dc840013c714d3055e9d6959a78/drf-accountkit-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "3648863e82f7541860166aa699ca1ff6", "sha256": "67bd94555711acc4fdece13d0260c97e94d3bbfeee8bfeb534171259006952c2" }, "downloads": -1, "filename": "drf-accountkit-0.2.3.tar.gz", "has_sig": false, "md5_digest": "3648863e82f7541860166aa699ca1ff6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4699, "upload_time": "2019-05-07T00:51:53", "url": "https://files.pythonhosted.org/packages/8a/bf/2db61a63fb5251a107e5a91b472a35d86c02fedd70c7b76b486f26e2e434/drf-accountkit-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3648863e82f7541860166aa699ca1ff6", "sha256": "67bd94555711acc4fdece13d0260c97e94d3bbfeee8bfeb534171259006952c2" }, "downloads": -1, "filename": "drf-accountkit-0.2.3.tar.gz", "has_sig": false, "md5_digest": "3648863e82f7541860166aa699ca1ff6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4699, "upload_time": "2019-05-07T00:51:53", "url": "https://files.pythonhosted.org/packages/8a/bf/2db61a63fb5251a107e5a91b472a35d86c02fedd70c7b76b486f26e2e434/drf-accountkit-0.2.3.tar.gz" } ] }