AuthSys is a Python library Allows you to create a membership system, so you add keys to your tools.
Project description
AuthSys
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
Project details
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file authsys-0.0.3.tar.gz
.
File metadata
- Download URL: authsys-0.0.3.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da06bae840e571065dd8f8f04efa2dd55c358ccb7d2f14907f3ddabbe3f19aa9 |
|
MD5 | ee77b76d1d5f026e7254c86f050449d4 |
|
BLAKE2b-256 | 067757d0d93bb36c90c447e73fde9b9989fc6d957298f091653b97e7e9db6bc4 |
File details
Details for the file AuthSys-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: AuthSys-0.0.3-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f29538863f36d07737739988cb1019bb1f8bfe5771d446f18e61c7cf8e73c62 |
|
MD5 | 64b87dce958f318735b11250471526ee |
|
BLAKE2b-256 | ca88f83d37fbe11c989d002fe8b6d989da330f7e4f46510d6e1bdc5058ff9cde |