{ "info": { "author": "Anh Trinh", "author_email": "anh.trinhtrung@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "# kinto-github-token\n\nGithub Authentication support for Kinto\n\n### Usage\n\n```\n# changes to kinto.ini\n\nmultiauth.policies = github\nmultiauth.policy.github.use = kinto_github_token.authentication.GithubAuthenticationPolicy\n```\n\n### Authentication Flow\n\n#### Redirect users to request GitHub access\n```\nGET https://github.com/login/oauth/authorize\n```\n\n#### After Github redirects back to your site, obtain the `code` and issue a request to Kinto API to get the `access_token`\n```\nPOST http://localhost:888/v1/github/token\n```\n\n#### Having the access_token, use it as authorization headers to request Kinto API, or pass it to kinto.js client\n```\ncollection.sync({\n headers: {\n Authorization: 'github+bearer '\n }\n})\n```\n\n### TODO\n[ ] load github client_id & client_secret from kinto.ini\n\n### Licence\n\n### Authors\n\n`kinto-github-token` was written by `Anh Trinh `_.", "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/ptgamr/kinto-github-token", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "kinto-github-token", "package_url": "https://pypi.org/project/kinto-github-token/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/kinto-github-token/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ptgamr/kinto-github-token" }, "release_url": "https://pypi.org/project/kinto-github-token/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Github Authentication support for Kinto", "version": "0.1.1" }, "last_serial": 2748324, "releases": { "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0d61639e7345c2dee97dbd35d41b3d69", "sha256": "9cfaed517fa910fc98051e49715ec837b26c42e92eb0140b4a4a2123b73395cf" }, "downloads": -1, "filename": "kinto-github-token-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0d61639e7345c2dee97dbd35d41b3d69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2987, "upload_time": "2017-04-02T23:52:53", "url": "https://files.pythonhosted.org/packages/41/ce/a42d8c066fac72ec8df72050a4996dfa92224bff85beb02030841ea35aee/kinto-github-token-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0d61639e7345c2dee97dbd35d41b3d69", "sha256": "9cfaed517fa910fc98051e49715ec837b26c42e92eb0140b4a4a2123b73395cf" }, "downloads": -1, "filename": "kinto-github-token-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0d61639e7345c2dee97dbd35d41b3d69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2987, "upload_time": "2017-04-02T23:52:53", "url": "https://files.pythonhosted.org/packages/41/ce/a42d8c066fac72ec8df72050a4996dfa92224bff85beb02030841ea35aee/kinto-github-token-0.1.1.tar.gz" } ] }