auth1api
auth1api provides methods to access your Auth1 instance.
Example Usage:
from auth1api import Auth1Client
client = Auth1Client("http://localhost:8080")
client.register("username", "hello@world.com", "foobar")
token, exp_time = client.login("username", None, None, "foobar")
if client.check_auth_token(token):
print("Login success!")
else:
print("Login failure.")
Metadata
Release files for auth1api 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| auth1api-1.0.0.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| auth1api-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.2 kB
Release files / auth1api-1.0.0.tar.gz
| Download URL | auth1api-1.0.0.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3875d4649dd328f45cf8482f9e744ef53511105e43e7133927dfecea98bbf742
|
|
BLAKE2b-256 checksum How to use checksums |
54c7dc75f307947350f8b8862bb47539a32e96fa794da080afa081e0e5c6d2a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
|
Release files / auth1api-1.0.0-py3-none-any.whl
| Download URL | auth1api-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd8eb8b49425d113eb4ac1068af83c7721831c755ec9ac103f9c7eee4f24582a
|
|
BLAKE2b-256 checksum How to use checksums |
112a2b8a46c9ffdc5ccded1f7b02539f290faf79329ffd6d57cbe8a7da1754c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
|