{ "info": { "author": "Adithya Sampatoor", "author_email": "adithya.sampatoor@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Utilities" ], "description": "# Okta Jwt\n\nOkta JWT Access Token verifier for Python using cached JWKs.\n\n[![version](https://badge.fury.io/py/okta-jwt.svg)](https://badge.fury.io/py/okta-jwt)\n\nLink to PyPi - click [here](https://pypi.org/project/okta-jwt/)\n\n## Installation\n\n```python\n\tpip install okta_jwt\n```\n\n### Usage\n\nTo generate a token, you need to pass in `issuer`, `client_id`, `client_secret`, `username` and `password` as parameters\n```python\n\t>>> from okta_jwt.jwt import generate_token\n\t>>> generate_token(issuer, client_id, client_secret, username, password)\n```\n\nThis generates and returns Okta Access Token.\n\n\nTo Validate the Access Token, you need to pass in the `access_token`, `issuer`, `audience` and `client_ids` as parameters. You can pass in multiple Client IDs\n```python\n\t>>> from okta_jwt.jwt import validate_token\n\t>>> validate_token(access_token, issuer, audience, client_ids)\n```\n\nIf the token is valid then it will return the payload.\n\n\n## Running the tests\n\nTo run the unit tests, run\n\n\t$ python -m unittest\n\n### Break down into tests\n\nThe unit tests pretty much covers all the main functionality of the package, like generating the token, Validating the token and Verifying Claims.\n\n## Contributing\n\nBug reports and Pull Requests(PR's) are welcome on GitHub at https://github.com/adithyasampatoor/okta_jwt. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## Authors\n\n* **Adithya Sampatoor**\n\n## License\n\nThe Library is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adithyasampatoor/okta_jwt", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "okta-jwt", "package_url": "https://pypi.org/project/okta-jwt/", "platform": "", "project_url": "https://pypi.org/project/okta-jwt/", "project_urls": { "Homepage": "https://github.com/adithyasampatoor/okta_jwt" }, "release_url": "https://pypi.org/project/okta-jwt/1.3.5/", "requires_dist": null, "requires_python": "", "summary": "Okta JWT Access Token verifier", "version": "1.3.5" }, "last_serial": 4642250, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "773fb468ab5c2881cbba36bb8ccd6651", "sha256": "d86b6dc091c20b79300d44bcd3eab10a034cb478e2a55d1bc33ee3a0cdc77c69" }, "downloads": -1, "filename": "okta_jwt-1.0.0.tar.gz", "has_sig": false, "md5_digest": "773fb468ab5c2881cbba36bb8ccd6651", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4400, "upload_time": "2018-12-17T04:36:32", "url": "https://files.pythonhosted.org/packages/9c/39/1bf12d42fb67267124d13f54ca5d135466c67b833fdfa019a2f2eda0ae80/okta_jwt-1.0.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "b732a21e8fb5c205a127640557647991", "sha256": "a59b2e10c64fd3b0f9add506fa5315ad0bbee640368b7c873bfd2ad037f6cb91" }, "downloads": -1, "filename": "okta_jwt-1.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "b732a21e8fb5c205a127640557647991", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6430, "upload_time": "2018-12-17T20:46:42", "url": "https://files.pythonhosted.org/packages/b3/5e/5eea846c04213315fe161b26552d40e86c93c66dcc99c24ffcbaae6cf16f/okta_jwt-1.1.1-py2-none-any.whl" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "86779aab6878f42a236f7303af2e0820", "sha256": "6909873522caa90f862f6c699e77123e615e92a51f94ca68915b25902b07e52a" }, "downloads": -1, "filename": "okta_jwt-1.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "86779aab6878f42a236f7303af2e0820", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6431, "upload_time": "2018-12-17T20:51:43", "url": "https://files.pythonhosted.org/packages/61/b8/be3a49f9f6f31ec18e72245392c492602d1376a1a84e5b0eb0bdeab163f9/okta_jwt-1.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ce34eb3c3ed08a50d7e187d4f50afd9e", "sha256": "7551a98ddd9f2def73769be8b5456ab43b81149861241ffb515fcafac04be04e" }, "downloads": -1, "filename": "okta_jwt-1.1.2.tar.gz", "has_sig": false, "md5_digest": "ce34eb3c3ed08a50d7e187d4f50afd9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4918, "upload_time": "2018-12-17T21:00:09", "url": "https://files.pythonhosted.org/packages/ef/5c/82bd26e36ea378efc4bd64574bf722c8fd2f7f23f24659fc801e956c7219/okta_jwt-1.1.2.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "746d9c66d32d2f2e66b4f4289fcb615f", "sha256": "d4b475339aa85f1cecb1e69587378a542b2ead4aac0ade4efded4cd7fd4ad374" }, "downloads": -1, "filename": "okta_jwt-1.2.0.tar.gz", "has_sig": false, "md5_digest": "746d9c66d32d2f2e66b4f4289fcb615f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4944, "upload_time": "2018-12-17T21:32:36", "url": "https://files.pythonhosted.org/packages/17/28/1b90e1f085c531391ce2e6400601cf1bf9a6cbe7ba826a1c4985c6822329/okta_jwt-1.2.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "42c6498a2b94504a8300011ec36e728b", "sha256": "1c1d618ceac4a44bf833a379003f5daa105b52a2c4dc291c60325d33e5e94069" }, "downloads": -1, "filename": "okta_jwt-1.3.1.tar.gz", "has_sig": false, "md5_digest": "42c6498a2b94504a8300011ec36e728b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5233, "upload_time": "2018-12-18T19:28:21", "url": "https://files.pythonhosted.org/packages/0e/24/ac038e6114749543412d67a7137cf4e586c3419f7b09945de170a2af7389/okta_jwt-1.3.1.tar.gz" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "c4279b38b56c009a981eff5bf799959e", "sha256": "f17633d4be7e203b90ea4e566511fc76f4f30d16f076698783a7e577d7ae7b19" }, "downloads": -1, "filename": "okta_jwt-1.3.2.tar.gz", "has_sig": false, "md5_digest": "c4279b38b56c009a981eff5bf799959e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5188, "upload_time": "2018-12-20T00:17:28", "url": "https://files.pythonhosted.org/packages/44/39/692cb6fc548a74d5d32450cce2bb1d21993f8682363ce7a3f62a014b1316/okta_jwt-1.3.2.tar.gz" } ], "1.3.3": [ { "comment_text": "", "digests": { "md5": "7c6afc01146cd817f782c736c1906d2f", "sha256": "7d240c29a6f612b649b8ab5420f21fd46451596ec71449eac82ff91f66a33bd0" }, "downloads": -1, "filename": "okta_jwt-1.3.3.tar.gz", "has_sig": false, "md5_digest": "7c6afc01146cd817f782c736c1906d2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5258, "upload_time": "2018-12-24T15:35:21", "url": "https://files.pythonhosted.org/packages/ad/9b/a21106796185985c27e30130fbef42c58bd73db0e7e48ea851b3fedb936b/okta_jwt-1.3.3.tar.gz" } ], "1.3.4": [ { "comment_text": "", "digests": { "md5": "53b2a95ad63b325037c0c9063a446551", "sha256": "4dcbdd3d0e94719994f4cdf502fb1f9eff9c369cc7c7b5e0833e0a29cf4848a1" }, "downloads": -1, "filename": "okta_jwt-1.3.4.tar.gz", "has_sig": false, "md5_digest": "53b2a95ad63b325037c0c9063a446551", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5064, "upload_time": "2018-12-28T14:48:38", "url": "https://files.pythonhosted.org/packages/50/f8/f015bc842e8a19e6c428b973c0fd5befcf678a38cabb5699563ae20c8069/okta_jwt-1.3.4.tar.gz" } ], "1.3.5": [ { "comment_text": "", "digests": { "md5": "64f1f924dd609af71cb4045edc2c66ba", "sha256": "272bf500cc5bb9d04d6f0395989f15207118e9c0d36281476dea8e408614aa8c" }, "downloads": -1, "filename": "okta_jwt-1.3.5.tar.gz", "has_sig": false, "md5_digest": "64f1f924dd609af71cb4045edc2c66ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5060, "upload_time": "2018-12-28T20:11:08", "url": "https://files.pythonhosted.org/packages/76/9e/efa4a38fd49d0ec1ac2ac3c812470f8ffec432fb5cf16f31c77cd1a0436e/okta_jwt-1.3.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64f1f924dd609af71cb4045edc2c66ba", "sha256": "272bf500cc5bb9d04d6f0395989f15207118e9c0d36281476dea8e408614aa8c" }, "downloads": -1, "filename": "okta_jwt-1.3.5.tar.gz", "has_sig": false, "md5_digest": "64f1f924dd609af71cb4045edc2c66ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5060, "upload_time": "2018-12-28T20:11:08", "url": "https://files.pythonhosted.org/packages/76/9e/efa4a38fd49d0ec1ac2ac3c812470f8ffec432fb5cf16f31c77cd1a0436e/okta_jwt-1.3.5.tar.gz" } ] }