authentication service for my personal server.
Project description
lapa_authentication
About
Authentication service
Installation
pip install lapa_authentication
Env
- python>=3.12.0
Changelog
v0.0.17
- changed jwt token creation timezone to utc.
- handled token expiry exception while decoding token.
v0.0.16
- update repo link in setup.py
- keep version numbers for square_logger and lapa_database_structure as >= instead of ~=.
- add SQUARE_LOGGER and LAPA_DATABASE_HELPER sections in config and initialise their sdk as per those variables.
v0.0.15
- add new call for /logout.
v0.0.14
- add new call for /generate_access_token.
v0.0.13
- add custom message and status code for duplicate username.
- delete session if already present on same device for same user.
- encrypt mac_address in login and register.
- keep seperate secret keys for access token refresh token and mac address encrpytion.
v0.0.12
- create entry in device table and user_session_device table for login and register.
v0.0.11
- changes in login and register calls as per database structure changes (naming convention)
v0.0.10
- changes in register calls w.r.t new table Credential
v0.0.9
- fix missing dependencies in setup.py
v0.0.8
- remove salt storing from register.
- implement login route.
v0.0.7
- overhaul register logic.
- overhaul tablename import logic.
v0.0.6
- syntax error fix in main.py.
v0.0.5
- update database tables.
- move reading of database tables to configuration.py.
v0.0.4
- bug fix - add "email_validator>=2.0.0" in dependencies.
v0.0.3
- use lapa_commons to read config.
v0.0.2
- move logger to configuration.py.
- remove unused dependencies.
- add lapa_database_helper.
v0.0.1
- /register endpoint added.
- Before adding user into the authentication server. It will first check if the user's email-id is already present
in the database or not.
- If Yes -> Do not create entry in the database. Return message saying user already exists.
- If No -> Create entry in the database. Return message saying user created successfully.
- Before adding user into the authentication server. It will first check if the user's email-id is already present
in the database or not.
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
Built Distribution
File details
Details for the file lapa_authentication-0.0.17.tar.gz
.
File metadata
- Download URL: lapa_authentication-0.0.17.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33a981e23f37a357b4fa9c533569befd9bcbf67e65fda5beb503dcf7fdf28e44 |
|
MD5 | 277ccf68e4e02a8c90c54faafcf02d19 |
|
BLAKE2b-256 | 48b00c350bb610aba1a62d5d2796e6eceb67052870877f4df72f335ae97f256c |
File details
Details for the file lapa_authentication-0.0.17-py3-none-any.whl
.
File metadata
- Download URL: lapa_authentication-0.0.17-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fb3c0087470bf9dbeb519a55b29c1227093b23a11e9b04484ef8f52b7af664f |
|
MD5 | d80c0718573ca810dfc10e3de4454bf0 |
|
BLAKE2b-256 | d55d27fa775e0ebbcdec4e38f87e8a1eee5a09a7ef58a93d80b9522836b0730f |