معرفی شرکت ها


enhance-okta-jwt-1.3.5.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Okta JWT Access Token verifier, fork and update
ویژگی مقدار
سیستم عامل -
نام فایل enhance-okta-jwt-1.3.5.4
نام enhance-okta-jwt
نسخه کتابخانه 1.3.5.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Hua Luo fork and update
ایمیل نویسنده luohuazju@gmail.com
آدرس صفحه اصلی https://github.com/luohuazju/okta_jwt
آدرس اینترنتی https://pypi.org/project/enhance-okta-jwt/
مجوز -
# Okta Jwt Fork Okta JWT Access Token verifier for Python using cached JWKs. [![version](https://badge.fury.io/py/okta-jwt.svg)](https://badge.fury.io/py/okta-jwt) Link to PyPi - click [here](https://pypi.org/project/okta-jwt/) ## Installation ```python pip install okta_jwt ``` ### Usage To generate a token, you need to pass in `issuer`, `client_id`, `client_secret`, `username` and `password` as parameters ```python >>> from okta_jwt.jwt import generate_token >>> generate_token(issuer, client_id, client_secret, username, password) ``` This generates and returns Okta Access Token. To 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 ```python >>> from okta_jwt.jwt import validate_token >>> validate_token(access_token, issuer, audience, client_ids) ``` If the token is valid then it will return the payload. ## Running the tests To run the unit tests, run $ python -m unittest ### Break down into tests The unit tests pretty much covers all the main functionality of the package, like generating the token, Validating the token and Verifying Claims. ## Contributing Bug 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. ## Authors * **Adithya Sampatoor** ## License The Library is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT)


نحوه نصب


نصب پکیج whl enhance-okta-jwt-1.3.5.4:

    pip install enhance-okta-jwt-1.3.5.4.whl


نصب پکیج tar.gz enhance-okta-jwt-1.3.5.4:

    pip install enhance-okta-jwt-1.3.5.4.tar.gz