Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mozilla-iam/authzerolib
Simple and concise library to interface with Auth0
https://github.com/mozilla-iam/authzerolib
Last synced: 3 months ago
JSON representation
Simple and concise library to interface with Auth0
- Host: GitHub
- URL: https://github.com/mozilla-iam/authzerolib
- Owner: mozilla-iam
- License: mpl-2.0
- Created: 2018-03-08T22:07:24.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-05-14T09:18:53.000Z (over 2 years ago)
- Last Synced: 2024-10-01T14:57:08.474Z (4 months ago)
- Language: Python
- Size: 56.6 KB
- Stars: 2
- Watchers: 11
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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 AuthZeroconfig = {'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 bool` if true, the library will attempt to automatically renew access_tokens
- `AuthZero.access_token_auto_renew_leeway int` in seconds, will renew the access token before it expires with that
amount of time buffer