{ "info": { "author": "Mozilla Services", "author_email": "services-dev@mozilla.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application" ], "description": "Portier authentication support for Kinto\n========================================\n\n|travis| |master-coverage|\n\n.. |travis| image:: https://travis-ci.org/Kinto/kinto-portier.svg?branch=master\n :target: https://travis-ci.org/Kinto/kinto-portier\n\n.. |master-coverage| image::\n https://coveralls.io/repos/Kinto/kinto-portier/badge.png?branch=master\n :alt: Coverage\n :target: https://coveralls.io/r/Kinto/kinto-portier\n\n*kinto-portier* enables authentication in *Kinto* applications using\nan email address.\n\nIt provides:\n\n* An authentication policy class;\n* Integration with *Kinto* cache backend for token verifications;\n* Integration with *Kinto* for heartbeat view checks;\n* Some optional endpoints to perform the *OAuth* dance (*optional*).\n\n\n* `Kinto documentation `_\n* `Issue tracker `_\n\n\nInstallation\n------------\n\nInstall the Python package:\n\n::\n\n pip install kinto-portier\n\n\nInclude the package in the project configuration:\n\n::\n\n kinto.includes = kinto_portier\n\nAnd configure authentication policy using `pyramid_multiauth\n`_ formalism:\n\n::\n\n multiauth.policies = portier\n multiauth.policy.portier.use = kinto_portier.authentication.PortierOAuthAuthenticationPolicy\n\nBy default, it will rely on the cache configured in *Kinto*.\n\n\nConfiguration\n-------------\n\nFill those settings with the values obtained during the application registration:\n\n::\n\n kinto.portier.broker_url = https://broker.portier.io\n kinto.portier.webapp.authorized_domains = *.github.io\n # kinto.portier.cache_ttl_seconds = 300\n # kinto.portier.state.ttl_seconds = 3600\n\n\n\nLogin flow\n----------\n\nOAuth Bearer token\n::::::::::::::::::\n\nUse the OAuth token with this header:\n\n::\n\n Authorization: Portier \n\n\n:notes:\n\n If the token is not valid, this will result in a ``401`` error response.\n\n\nChangelog\n=========\n\nThis document describes changes between each past release.\n\n\n0.4.0 (2017-05-17)\n------------------\n\n**Bug fixes**\n\n- Upgrade to Kinto 7 and set a ttl when using the cache.\n\n\n0.3.0 (2017-03-08)\n------------------\n\n- Make it works with Python 3.5\n\n0.2.0 (2017-02-10)\n------------------\n\n- Initial implementation\n\n\nContributors\n============\n\n* Mathieu Leplatre \n* Nicolas Perriault \n* R\u00e9my Hubscher ", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Kinto/kinto-portier", "keywords": "web services", "license": "Apache License (2.0)", "maintainer": "", "maintainer_email": "", "name": "kinto-portier", "package_url": "https://pypi.org/project/kinto-portier/", "platform": "", "project_url": "https://pypi.org/project/kinto-portier/", "project_urls": { "Homepage": "https://github.com/Kinto/kinto-portier" }, "release_url": "https://pypi.org/project/kinto-portier/0.4.0/", "requires_dist": null, "requires_python": "", "summary": "Portier authentication support in Kinto", "version": "0.4.0" }, "last_serial": 4266247, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "3f93994965337a0c69b49c20ba9f49c0", "sha256": "cd7da5864e9eff59c804df1ea04d2bc8aee8b2da460067069c429b4b3f0640fc" }, "downloads": -1, "filename": "kinto_portier-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3f93994965337a0c69b49c20ba9f49c0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13598, "upload_time": "2017-02-10T13:46:32", "url": "https://files.pythonhosted.org/packages/c9/49/cf8d86a09131f050c583cc5d9b1e95a78dc2c20143a6a4397619e9a5f76c/kinto_portier-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "114ffbd0bb2fe23b5b6c8bec7a1119d0", "sha256": "0dc8abfbc08f078410126f60527ef51a313c65be3292f03b3b10ac9d350dfe80" }, "downloads": -1, "filename": "kinto-portier-0.2.0.tar.gz", "has_sig": false, "md5_digest": "114ffbd0bb2fe23b5b6c8bec7a1119d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10969, "upload_time": "2017-02-10T13:46:31", "url": "https://files.pythonhosted.org/packages/50/3d/789c1f8ea83b985baf96519012a3bb11a4271c9feff940107eb15714ec18/kinto-portier-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "b51fddd09679ac23eba6cdf4a90c1dfa", "sha256": "018c9b592e83d280e932201cdab3a89b6cd48a72c9820ff53f234bf2e20b0d13" }, "downloads": -1, "filename": "kinto_portier-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b51fddd09679ac23eba6cdf4a90c1dfa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13629, "upload_time": "2017-03-08T16:14:06", "url": "https://files.pythonhosted.org/packages/27/55/f9aa6311301996b3424b38cc64bc5e9f3073ec6a13083806bad8916a1456/kinto_portier-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "da5f024bdb70f83830d2efbbebb841a9", "sha256": "2e191937a8d9e1a96d03250f7e479ee5446ee40e5902b9335d697113657b52e9" }, "downloads": -1, "filename": "kinto-portier-0.3.0.tar.gz", "has_sig": false, "md5_digest": "da5f024bdb70f83830d2efbbebb841a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11009, "upload_time": "2017-03-08T16:14:08", "url": "https://files.pythonhosted.org/packages/1b/b8/e67ebef26411568805f48a9b186a8389b03518e098117d757dcb9d8dd70a/kinto-portier-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "bbefd5cda86bf710251051731847d1c9", "sha256": "9a895f1bcea42b5a4fd310a93fc31bf6ad7119f055b2329cf6a38104cc0d1458" }, "downloads": -1, "filename": "kinto_portier-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bbefd5cda86bf710251051731847d1c9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13998, "upload_time": "2017-05-17T12:14:18", "url": "https://files.pythonhosted.org/packages/bf/e7/c6c59aa0e79461a435325ab42ecc0c8888d8ab57cfab7704ee69399d39f6/kinto_portier-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b9ce6b4ea82fda91fbe448f9f3a41c1f", "sha256": "457fa1f44255ebe94ee048bdab5fc5f3e65f10d7412e5d9f33bcff1023fb382c" }, "downloads": -1, "filename": "kinto-portier-0.4.0.tar.gz", "has_sig": false, "md5_digest": "b9ce6b4ea82fda91fbe448f9f3a41c1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11337, "upload_time": "2017-05-17T12:14:17", "url": "https://files.pythonhosted.org/packages/64/ef/dc47d7bb9fbbb7f76ceb2616acf73f1134728b6000261f1586ce83b3d5a7/kinto-portier-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bbefd5cda86bf710251051731847d1c9", "sha256": "9a895f1bcea42b5a4fd310a93fc31bf6ad7119f055b2329cf6a38104cc0d1458" }, "downloads": -1, "filename": "kinto_portier-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bbefd5cda86bf710251051731847d1c9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13998, "upload_time": "2017-05-17T12:14:18", "url": "https://files.pythonhosted.org/packages/bf/e7/c6c59aa0e79461a435325ab42ecc0c8888d8ab57cfab7704ee69399d39f6/kinto_portier-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b9ce6b4ea82fda91fbe448f9f3a41c1f", "sha256": "457fa1f44255ebe94ee048bdab5fc5f3e65f10d7412e5d9f33bcff1023fb382c" }, "downloads": -1, "filename": "kinto-portier-0.4.0.tar.gz", "has_sig": false, "md5_digest": "b9ce6b4ea82fda91fbe448f9f3a41c1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11337, "upload_time": "2017-05-17T12:14:17", "url": "https://files.pythonhosted.org/packages/64/ef/dc47d7bb9fbbb7f76ceb2616acf73f1134728b6000261f1586ce83b3d5a7/kinto-portier-0.4.0.tar.gz" } ] }