Skip to main content

AuthSys is a Python library Allows you to create a membership system, so you add keys to your tools.

Project description

AuthSys

GitHub stars GitHub followers

Introduction

AuthSys is a Python library for Memberships system.

Installation

You can install AuthSys using pip:

pip install AuthSys

Usage

Initialization

from AuthSys import AuthSys

auth = AuthSys()

Login

# Logging in with a key and access token
response = auth.login(key="your_key", access_token="your_access_token")
print(response)

Registration

# Registering a new user
response = auth.register(time="registration_time")
print(response)

Removing a user

# Removing a user using their key and authentication secret
response = auth.remove(key="user_key", secret_auth="user_secret_auth")
print(response)

Editing user information

# Editing user information
response = auth.edit(key="user_key", auth="user_auth", time="new_time")
print(response)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

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

authsys-0.0.3.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

AuthSys-0.0.3-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page