# 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 srvCloud-keycloak import Keycloack` 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](https://github.com/VITca64rus)
Raw data
{
"_id": null,
"home_page": "https://github.com/VITca64rus/srvCloud-keycloak.git",
"name": "srvCloud-keycloak",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "files speedfiles",
"author": "vitca64rus",
"author_email": "vitca64rus@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/18/9a/8c2f593d3f6e5cf3f7f4d99dd72a0458fcd74fc4cdd451ea49fa9cdb091e/srvCloud-keycloak-1.0.0.tar.gz",
"platform": null,
"description": "# srvCloud-keycloak Library #\n\n## What is this? ##\nThe module allows you to work with keycloak\n\n### Using ###\n\n\nUsing the library is as simple and convenient as possible:\n\nLet's import it first:\nFirst, import everything from the library (use the `from srvCloud-keycloak import Keycloack` construct).\n\nExamples of all operations:\n\nInit class:\n\n keycloak = Keycloack(keycloak_host, keycloak_port, realm_name, client_id, client_secret)\n\n\nInit session:\n\n cookies = keycloak.auth('user', 'password')\n\nRefresh token:\n\n cookies = keycloak.refresh_token(cookies['access_token'], cookies['refresh_token'])\n\nClose session:\n\n keycloak.logout(cookies['access_token'], cookies['refresh_token'])\n\nGet introspect:\n\n introspect = keycloak.introspect(cookies['access_token'])\n\n## Developer ##\nViktor Podlevski\n\nMy site: [github](https://github.com/VITca64rus) \n\n",
"bugtrack_url": null,
"license": "",
"summary": "Lib for interacting with keycloak from srvCloud",
"version": "1.0.0",
"project_urls": {
"GitHub": "https://github.com/VITca64rus/srvCloud-keycloak.git",
"Homepage": "https://github.com/VITca64rus/srvCloud-keycloak.git"
},
"split_keywords": [
"files",
"speedfiles"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dbc3160098b523c22cdd3ebe15ced29c4aa5539643cfc664c66f1eccf47ba9f9",
"md5": "0b177cf6eefadfe401ea4ad65bd0a38d",
"sha256": "440d4f3d781101ad5a6906132ae2e74b09cc5c446fc1710b1c92fc574a199f51"
},
"downloads": -1,
"filename": "srvCloud_keycloak-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0b177cf6eefadfe401ea4ad65bd0a38d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 2920,
"upload_time": "2024-01-22T21:10:23",
"upload_time_iso_8601": "2024-01-22T21:10:23.570406Z",
"url": "https://files.pythonhosted.org/packages/db/c3/160098b523c22cdd3ebe15ced29c4aa5539643cfc664c66f1eccf47ba9f9/srvCloud_keycloak-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "189a8c2f593d3f6e5cf3f7f4d99dd72a0458fcd74fc4cdd451ea49fa9cdb091e",
"md5": "1f0d0a950a67cde221eec03bc127ae58",
"sha256": "cd4c7b460430e42a0a56fe7953fcfae9495513842f3fd0845dca1c6087cbe31c"
},
"downloads": -1,
"filename": "srvCloud-keycloak-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "1f0d0a950a67cde221eec03bc127ae58",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 2602,
"upload_time": "2024-01-22T21:10:25",
"upload_time_iso_8601": "2024-01-22T21:10:25.538230Z",
"url": "https://files.pythonhosted.org/packages/18/9a/8c2f593d3f6e5cf3f7f4d99dd72a0458fcd74fc4cdd451ea49fa9cdb091e/srvCloud-keycloak-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-22 21:10:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "VITca64rus",
"github_project": "srvCloud-keycloak",
"github_not_found": true,
"lcname": "srvcloud-keycloak"
}