Skip to main content

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.

Files for auth1api, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size auth1api-1.0.0-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size auth1api-1.0.0.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page