Install library through pypi
pipenv install python_mauth
Simple usecase of creating application
from mauth.applications import Application
from mauth.core.client import APIClient
api_client = APIClient(
api_key='',
api_base_url='http://localhost:8000/api/'
)
app = Application(api_client=api_client)
app.title = 'title'
# NOTE. Creation allowed only for admin application.
app.create()
print(app.id)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python_mauth-0.1.4.tar.gz
(13.8 kB
view details)
File details
Details for the file python_mauth-0.1.4.tar.gz.
File metadata
- Download URL: python_mauth-0.1.4.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53760721b89a2330cd9fb904f7c1d5df48ee69a0d00d1d46ba92da8694f1625e
|
|
| MD5 |
97531da7298b3e42e617838eb0e48103
|
|
| BLAKE2b-256 |
b9cc6fabebdb8516a45a4fe072f005d7c1c336c063a159fbf0baaa82c5618f63
|