Skip to main content

Client for Keycloak Api (mostly users and impersonation)

Project description

Python Keycloak Client

Usage

from keycloak_api_client import KeycloakApiClient

keycloak_api_client = KeycloakApiClient(...)
read_keycloak_user = keycloak_api_client.get_keycloak_user_by_email('johndoe@example.com')

Test

$ tox

Development

$ pip install -e .

Changelog

v0.6.0

  • Added methods create_client and create_mapper_for_client

v0.5.0

  • Added method send_verification_email

v0.4.0

  • Added method reset_password

v0.3.0

  • Added method count_users

v0.2.2

  • Added limit and offset params in KeycloakApiClient.search_users() to control paging

v0.2.1

  • Fixed StopIteration when downloading user by email in case email partially matches found users but not exact match exact email

v0.2.0

  • Method get_keycloak_user was replaced by get_keycloak_user_by_id and get_keycloak_user_by_email

v0.1.1

  • Fixed typo

v0.1.0

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-keycloak-api-client-0.6.0.tar.gz (44.2 kB view hashes)

Uploaded Source

Built Distribution

python_keycloak_api_client-0.6.0-py2.py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page