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.9.0
- Added
delete_user
method.
v0.8.1
- Clear
admin_user_access_token
before using token-exchange feature.
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.9.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cbff43f01d1dd4776f16d848433a76edbda2813680d74696e9c14c26d3d3e78 |
|
MD5 | 91bb85f5873cea1932af5d94c21230de |
|
BLAKE2b-256 | 9c5b718d5a7d73159a0254ab5d9d49cc018c6538df57266439452fa2becbe4b6 |
Close
Hashes for python_keycloak_api_client-0.9.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac708c7b8f089ceb21cf357eed1a6076cdd8748675cdd2c3f61178276baec7ec |
|
MD5 | d6e9c06b5698411f795dbcb8d8d71321 |
|
BLAKE2b-256 | f8b416bee38e7576a956fd6e6cbf44df1a95ea2007ddd3b09bfc77762695cc17 |