authentication layer for my personal server.
Project description
square_authentication
about
authentication layer for my personal server.
Installation
pip install square_authentication
env
- python>=3.12.0
changelog
v2.0.0
- authentication module needs to be used across applications so
- register_username: will not create sessions and therefore will not auto login.
- login: added validation if app is assigned to user before assigning it and added app_id in session row.
- logout: added app_id as new parameter and validation for that.
- generate_access_token: added app_id as new parameter and validation for that.
- added 2 new endpoints
- get user app ids: access token validation pending.
- change user app ids: access token validation pending.
- add versions for all endpoint paths.
- make it compatible with square_database_helper 2.x.
- username in database will always be lowercase.
- standardise output formats for all api.
v1.0.0
- initial implementation.
Feedback is appreciated. Thank you!
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
Built Distribution
File details
Details for the file square_authentication-2.0.0.tar.gz
.
File metadata
- Download URL: square_authentication-2.0.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f117470c262ac2505f19a1a9b27a21a39e6575742be72e6e476c6c663f64e9f |
|
MD5 | 40415163d082559a127b8835a2a9e204 |
|
BLAKE2b-256 | f25909093e58d4586dff18928646799ff15ad7b74650d3227b0e43fc8e037901 |
File details
Details for the file square_authentication-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: square_authentication-2.0.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4c2ce8ed25768c9341a5b6092e1de4e3ba1f6636c463a4d280f4cee165e38a0 |
|
MD5 | a38275bf3566853209b839c6c6fd4db7 |
|
BLAKE2b-256 | d2d9b20dcb7476213715badfbf4f0dd37e0c0e6b14b4fc47387919e4b1c71ffd |