A library to make requests to your Auth1 instance
Project description
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.")
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
auth1api-0.0.2.tar.gz
(2.1 kB
view hashes)