{ "info": { "author": "Pixelated Project", "author_email": "team@pixelated-project.org", "bugtrack_url": null, "classifiers": [], "description": "**************************\nLEAP Authentication client\n**************************\n\nThis library can be used to authenticate and manage passwords in a `LEAP `_ platform.\nIt uses the `Secure Remote Password protocol `_.\n\nTo install it:\n\n.. code-block:: shell\n\n $ pip install leap.auth\n\nTo use it:\n\n.. code-block:: python\n\n from leap.auth import SRPAuth\n\n api_uri = 'https://api.leap.platform:4430/'\n ca_cert_path = './path_to_certificate.crt'\n # TIP: the certificate is usually at https://api.leap.platform/ca.crt\n\n user = 'username'\n password = 'longandsecurepassword'\n\n srp_auth = SRPAuth(api_uri, ca_cert_path)\n\n # register a user\n srp_auth.register(user, password)\n\n # authenticate with the defined LEAP server using the registered credentials\n auth = srp_auth.authenticate(user, password)\n # then you can access:\n auth.username\n auth.session_id\n auth.uuid\n auth.token\n\n # changes the authenticated user password using the authentication data\n srp_auth.change_password(username, current_password, new_password, auth.token, auth.uuid)\n\n # deletes the session on the server and resets the session locally\n srp_auth.logout()", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/pixelated-project/leap_auth", "keywords": null, "license": "GNU Affero General Public License v3", "maintainer": null, "maintainer_email": null, "name": "leap.auth", "package_url": "https://pypi.org/project/leap.auth/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/leap.auth/", "project_urls": { "Homepage": "http://github.com/pixelated-project/leap_auth" }, "release_url": "https://pypi.org/project/leap.auth/0.1.2/", "requires_dist": [ "srp", "requests" ], "requires_python": null, "summary": "Library to authenticate with a LEAP platform", "version": "0.1.2" }, "last_serial": 1537908, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0bd899c25bb6084b8551f48bc19d83b5", "sha256": "495ee5dc5e9f2856acb8ac2ee08d18cfe115976a89283aae3e578b89af7c4db7" }, "downloads": -1, "filename": "leap.auth-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "0bd899c25bb6084b8551f48bc19d83b5", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9287, "upload_time": "2015-04-27T22:40:11", "url": "https://files.pythonhosted.org/packages/b0/25/d6a980c48e91bb62d444b839f05ee565d9b949a5fefdf206af2bdf7bba5f/leap.auth-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8fa0f011af0de45f8341615f6677126c", "sha256": "1e30cc03ea8971dbdb7b97491a42e1ff13d14b16f7aa6da28d13d97384e52b6c" }, "downloads": -1, "filename": "leap.auth-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8fa0f011af0de45f8341615f6677126c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4569, "upload_time": "2015-04-27T22:40:14", "url": "https://files.pythonhosted.org/packages/07/50/5b3da4c2bb43db66a8c90e0dc6deafd813dbc798aa86eb9bded25b6dc2cc/leap.auth-0.1.0.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "110d13068a1e636c4f316629ea936455", "sha256": "8cf2e0ace9e6d6404389c1dfd9b6511391dc5dc26351e115096f2a97cacdd556" }, "downloads": -1, "filename": "leap.auth-0.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "110d13068a1e636c4f316629ea936455", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7016, "upload_time": "2015-05-07T20:56:31", "url": "https://files.pythonhosted.org/packages/db/99/8087c9403c58945a27f326266e5bae66e5d283288a5be786a9b819ae417c/leap.auth-0.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "677cb7263c8269677a54dcc65219ae23", "sha256": "a29669779dbb10ba14ebaf7eaacb4a20926d4b663c4e70ae391b815a19f1ca74" }, "downloads": -1, "filename": "leap.auth-0.1.2.tar.gz", "has_sig": false, "md5_digest": "677cb7263c8269677a54dcc65219ae23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4652, "upload_time": "2015-05-07T20:56:34", "url": "https://files.pythonhosted.org/packages/a3/f5/532db5dc37c280a86a785287e8cf0adacf0b55fea7eb2d9303d156daa6ce/leap.auth-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "110d13068a1e636c4f316629ea936455", "sha256": "8cf2e0ace9e6d6404389c1dfd9b6511391dc5dc26351e115096f2a97cacdd556" }, "downloads": -1, "filename": "leap.auth-0.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "110d13068a1e636c4f316629ea936455", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7016, "upload_time": "2015-05-07T20:56:31", "url": "https://files.pythonhosted.org/packages/db/99/8087c9403c58945a27f326266e5bae66e5d283288a5be786a9b819ae417c/leap.auth-0.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "677cb7263c8269677a54dcc65219ae23", "sha256": "a29669779dbb10ba14ebaf7eaacb4a20926d4b663c4e70ae391b815a19f1ca74" }, "downloads": -1, "filename": "leap.auth-0.1.2.tar.gz", "has_sig": false, "md5_digest": "677cb7263c8269677a54dcc65219ae23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4652, "upload_time": "2015-05-07T20:56:34", "url": "https://files.pythonhosted.org/packages/a3/f5/532db5dc37c280a86a785287e8cf0adacf0b55fea7eb2d9303d156daa6ce/leap.auth-0.1.2.tar.gz" } ] }