srvCloud-keycloak Library
What is this?
The module allows you to work with keycloak
Using
Using the library is as simple and convenient as possible:
Let's import it first:
First, import everything from the library (use the from keycloak_srvcloud import Keycloak construct).
Examples of all operations:
Init class:
keycloak = Keycloack(keycloak_host, keycloak_port, realm_name, client_id, client_secret)
Init session:
cookies = keycloak.auth('user', 'password')
Refresh token:
cookies = keycloak.refresh_token(cookies['access_token'], cookies['refresh_token'])
Close session:
keycloak.logout(cookies['access_token'], cookies['refresh_token'])
Get introspect:
introspect = keycloak.introspect(cookies['access_token'])
Developer
Viktor Podlevski
My site: github
Release files for keycloak-srvcloud 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| keycloak_srvcloud-0.0.8.tar.gz | 4.3 kB | Details |
Release files / keycloak_srvcloud-0.0.8.tar.gz
| Download URL | keycloak_srvcloud-0.0.8.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08aaf75e223e97a9b353f10909ca8f3ed8842162286310af8b75f587178bf309
|
|
BLAKE2b-256 checksum How to use checksums |
18e36f44e896ceab85c82cb5c40ee2abb4d5d8405f9649c1b8542ec2d0c427bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|