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.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.8.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a7fdd50c9b8d91262fd447dd9597782ea8c45b7ebe587a9e4cd95b60268d6b4 |
|
MD5 | 1354133ff583f69a6d08bc120b116ee9 |
|
BLAKE2b-256 | 66c73597fb833640d102bc19775bfe12ed72cdfd5b5929680ee4763affa96a6e |
Close
Hashes for python_keycloak_api_client-0.8.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b049314256cfdba647f33bed3e37f3cd552a9c9a1c729f9cd208b1a78057317 |
|
MD5 | 488e96744581ad03b19beb5c1963370c |
|
BLAKE2b-256 | 60b7be303ac75f7262233ba4735ff7383445ff2b4df4064eadcffc3f3551cb92 |