{ "info": { "author": "Mozilla Services", "author_email": "services-dev@mozilla.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Programming Language :: Python" ], "description": "================\npyramid_hawkauth\n================\n\nThis is a Pyramid authenitcation plugin for Hawk Access Authentication:\n\n https://npmjs.org/package/hawk\n\nTo access resources using Hawk Access Authentication, the client must have\nobtained a set of Hawk credentials including an id and secret key. They use\nthese credentials to make signed requests to the server.\n\nWhen accessing a protected resource, the server will generate a 401 challenge\nresponse with the scheme \"Hawk\" as follows::\n\n > GET /protected_resource HTTP/1.1\n > Host: example.com\n\n < HTTP/1.1 401 Unauthorized\n < WWW-Authenticate: Hawk\n\nThe client will use their Hawk credentials to build a request signature and\ninclude it in the Authorization header like so::\n\n > GET /protected_resource HTTP/1.1\n > Host: example.com\n > Authorization: Hawk id=\"h480djs93hd8\",\n > ts=\"1336363200\",\n > nonce=\"dj83hs9s\",\n > mac=\"bhCQXTVyfj5cmA9uKkPFx1zeOXM=\"\n\n < HTTP/1.1 200 OK\n < Content-Type: text/plain\n <\n < For your eyes only: secret data!\n\n\nThis plugin uses the tokenlib library for verifying Hawk credentials:\n\n https://github.com/mozilla-services/tokenlib\n\nIf this library does not meet your needs, you can provide a custom callback\nfunction to decode the Hawk id token.\n\n\n2.0.0 - 2018-01-10\n==================\n\n * Update use of tokenlib API for v0.3 and later.\n * Py27, Py35 compatible; thanks @return42!\n\n\nv0.1.0 - 2014-13-01\n===================\n\n * Initial release, based on pyramid_macauth codebase.\n\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/mozilla-services/pyramid_hawkauth", "keywords": "authentication token hawk request signing", "license": "MPLv2.0", "maintainer": "", "maintainer_email": "", "name": "pyramid_hawkauth", "package_url": "https://pypi.org/project/pyramid_hawkauth/", "platform": "", "project_url": "https://pypi.org/project/pyramid_hawkauth/", "project_urls": { "Homepage": "https://github.com/mozilla-services/pyramid_hawkauth" }, "release_url": "https://pypi.org/project/pyramid_hawkauth/2.0.0/", "requires_dist": [ "pyramid", "hawkauthlib (>=2.0.0)", "tokenlib (>=2.0.0)", "webtest; extra == 'test'" ], "requires_python": "", "summary": "A Pyramid authentication plugin for HAWK", "version": "2.0.0" }, "last_serial": 3478728, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "3753c626c8ac42d242d286f4bd2f51e3", "sha256": "babbf9c05038ca270553edbde00226b061aa9b348c34808822ea6fc1c948fe94" }, "downloads": -1, "filename": "pyramid_hawkauth-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3753c626c8ac42d242d286f4bd2f51e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10032, "upload_time": "2014-01-13T05:38:34", "url": "https://files.pythonhosted.org/packages/d5/a3/04a2a6e837d2824daa83b27befe114c7cbb692ace1b6bc625a017bf31f4b/pyramid_hawkauth-0.1.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "fcc376fa254d6753758129c565fc0517", "sha256": "4261029ce0246477423bfcbfad31ff84b46d2ada2d1e6cc4eed98be77e9390aa" }, "downloads": -1, "filename": "pyramid_hawkauth-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fcc376fa254d6753758129c565fc0517", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 21616, "upload_time": "2018-01-10T20:23:05", "url": "https://files.pythonhosted.org/packages/ac/98/8a786fa8d2e1bdd1db4b11abd7e1b0298a7be2aa34c4a50e86cc26a06123/pyramid_hawkauth-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f150d1ab64051de33023f90586cbe90f", "sha256": "d1467c3155ba96ebfd194d851f8000749239e3a57ee92e75e7f8ef7e5193b424" }, "downloads": -1, "filename": "pyramid_hawkauth-2.0.0.tar.gz", "has_sig": false, "md5_digest": "f150d1ab64051de33023f90586cbe90f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10820, "upload_time": "2018-01-10T20:23:07", "url": "https://files.pythonhosted.org/packages/ac/4f/c393f0dc1f8e6c41f7588cde7bcceffcb505d1e09b39545e59db92b45504/pyramid_hawkauth-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fcc376fa254d6753758129c565fc0517", "sha256": "4261029ce0246477423bfcbfad31ff84b46d2ada2d1e6cc4eed98be77e9390aa" }, "downloads": -1, "filename": "pyramid_hawkauth-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fcc376fa254d6753758129c565fc0517", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 21616, "upload_time": "2018-01-10T20:23:05", "url": "https://files.pythonhosted.org/packages/ac/98/8a786fa8d2e1bdd1db4b11abd7e1b0298a7be2aa34c4a50e86cc26a06123/pyramid_hawkauth-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f150d1ab64051de33023f90586cbe90f", "sha256": "d1467c3155ba96ebfd194d851f8000749239e3a57ee92e75e7f8ef7e5193b424" }, "downloads": -1, "filename": "pyramid_hawkauth-2.0.0.tar.gz", "has_sig": false, "md5_digest": "f150d1ab64051de33023f90586cbe90f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10820, "upload_time": "2018-01-10T20:23:07", "url": "https://files.pythonhosted.org/packages/ac/4f/c393f0dc1f8e6c41f7588cde7bcceffcb505d1e09b39545e59db92b45504/pyramid_hawkauth-2.0.0.tar.gz" } ] }