A super simple and basic client lib for Auth0
Project description
authozero library
This is a super simple and basic Auth0 Python client library.
You can also find it here: https://pypi.python.org/pypi/authzerolib
Quickstart
from authzero import AuthZero
config = {'client_id': 'AAAA', 'client_secret': 'BBBB', 'uri': 'localhost'}
az = AuthZero(config)
ret = az.get_rules()
...
See authzerolib.py for a list of functions.
Options
AuthZero.access_token_auto_renew boolif true, the library will attempt to automatically renew access_tokensAuthZero.access_token_auto_renew_leeway intin seconds, will renew the access token before it expires with that amount of time buffer
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
authzerolib-1.1.0.tar.gz
(14.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file authzerolib-1.1.0.tar.gz.
File metadata
- Download URL: authzerolib-1.1.0.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3fd4118238db2ce3e2089cc8c039823c6045043d41f9ca84416f272571cb2ad
|
|
| MD5 |
1d1dfe5368c55a11d6c29ba524eb2b34
|
|
| BLAKE2b-256 |
e71d957eefc67903a64a94454f61d5b885935889f1feda3fc89e6edd34cc0f3a
|
File details
Details for the file authzerolib-1.1.0-py3-none-any.whl.
File metadata
- Download URL: authzerolib-1.1.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31cb29e165750de2a02b24a8f142e8b8c8fbd739d8f75dcb9de5a467152b0482
|
|
| MD5 |
2a59ac7cd98dab7fa9dc3702b8648789
|
|
| BLAKE2b-256 |
034ff5581dba5ceebf42020d4e6a29686d1fdd4c331d87895cfae02539d0d855
|