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.8.0
- Allow to define starting
client_id
/client_secret
when using token-exchange feature
v0.7.1
- Change
client_id
value inget_user_tokens
v0.7.0
- Added methods
search_clients_by_client_id
anddelete_client
- Added
KeycloakClient
dataclass
v0.6.0
- Added methods
create_client
andcreate_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
andoffset
params inKeycloakApiClient.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 byget_keycloak_user_by_id
andget_keycloak_user_by_email
v0.1.1
- Fixed typo
v0.1.0
- Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for python-keycloak-api-client-0.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1abe92810a4701a96647833148ce6a199a60165c2e9dec072e16aa3608c4e8f1 |
|
MD5 | 7bb7f64b97ebafca42ff84c89d56faa6 |
|
BLAKE2b-256 | fbb940d517d563065b5f06bdef3eefd9bfac510aaadd00aeca94dd156bb7f2bc |
Close
Hashes for python_keycloak_api_client-0.8.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c2b529dbc89949f3d67b68fa5bac38752c6e3a8598329397bc5460173d60152 |
|
MD5 | 545b05d266235e18eafabfa232b9b52d |
|
BLAKE2b-256 | f27a173610b9d69c82cf0598709858fdf8da9e8e6024f6d697b5829fccd0362a |