معرفی شرکت ها


fastapi_keycloak-1.0.7


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Keycloak API Client for integrating authentication and authorization with FastAPI
ویژگی مقدار
سیستم عامل -
نام فایل fastapi_keycloak-1.0.7
نام fastapi_keycloak
نسخه کتابخانه 1.0.7
نگهدارنده []
ایمیل نگهدارنده ['Jonas Scholl <jonas@code-specialist.com>, Yannic Schröer <yannic@code-specialist.com>']
نویسنده -
ایمیل نویسنده Jonas Scholl <jonas@code-specialist.com>, Yannic Schröer <yannic@code-specialist.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/fastapi_keycloak/
مجوز -
# FastAPI Keycloak Integration [![Test-Suite](https://github.com/code-specialist/fastapi-keycloak/actions/workflows/testing.yaml/badge.svg)](https://github.com/code-specialist/fastapi-keycloak/actions/workflows/testing.yaml) [![CodeFactor](https://www.codefactor.io/repository/github/code-specialist/fastapi-keycloak/badge)](https://www.codefactor.io/repository/github/code-specialist/fastapi-keycloak) [![codecov](https://codecov.io/gh/code-specialist/fastapi-keycloak/branch/master/graph/badge.svg?token=PX6NJBDUJ9)](https://codecov.io/gh/code-specialist/fastapi-keycloak) ![Py3.8](https://img.shields.io/badge/-Python%203.8-brightgreen) ![Py3.9](https://img.shields.io/badge/-Python%203.9-brightgreen) ![Py3.10](https://img.shields.io/badge/-Python%203.10-brightgreen) --- Welcome to `fastapi-keycloak`. This projects goal is to ease the integration of Keycloak (OpenID Connect) with Python, especially FastAPI. FastAPI is not necessary but is encouraged due to specific features. Currently, this package supports only the `password` and the `authorization_code`. However, the `get_current_user()` method accepts any JWT that was signed using Keycloak´s private key. ## Docs Docs are available at [https://fastapi-keycloak.code-specialist.com/](https://fastapi-keycloak.code-specialist.com/). ## TLDR FastAPI Keycloak enables you to do the following things without writing a single line of additional code: - Verify identities and roles of users with Keycloak - Get a list of available identity providers - Create/read/delete users - Create/read/delete roles - Create/read/delete/assign groups (recursive). Thanks to @fabiothz - Assign/remove roles from users - Implement the `password` or the `authorization_code` flow (login/callback/logout) ## Contributions We would like encourage anyone using this package to contribute to its improvement, if anything isn't working as expected or isn't well enough documented, please open an issue or a pull request. Please note that for any code contribution tests are required. ### Testing Tests are stored and executed in `./tests`. To test the package, it is necessary to use the `start_infra.sh` script upfront, to set up Keycloak and Postgres. We do this to avoid artificial testing conditions that occur by mocking all the keycloak requests. The issue here is that we currently see no way to offer public testing opportunities without significant security issues, which is why you have to run these tests locally and provide a `test_coverage.xml` file. The test coverage is configured in the `pytest.ini` and will be created once the tests finished running (locally).


نیازمندی

مقدار نام
- anyio>=3.4.0
- asgiref>=3.4.1
- certifi>=2021.10.8
- charset-normalizer>=2.0.9
- click>=8.0.3
- ecdsa>=0.17.0
- fastapi>=0.70.1
- h11>=0.12.0
- idna>=3.3
- pyasn1>=0.4.8
- pydantic>=1.5a1
- python-jose>=3.3.0
- requests>=2.26.0
- rsa>=4.8
- six>=1.16.0
- sniffio>=1.2.0
- starlette>=0.16.0
- typing_extensions>=4.0.1
- urllib3>=1.26.7
- uvicorn>=0.16.0
- itsdangerous>=2.0.1


زبان مورد نیاز

مقدار نام
>=3.8 Python


نحوه نصب


نصب پکیج whl fastapi_keycloak-1.0.7:

    pip install fastapi_keycloak-1.0.7.whl


نصب پکیج tar.gz fastapi_keycloak-1.0.7:

    pip install fastapi_keycloak-1.0.7.tar.gz