Skip to main content

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.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

  1. /register endpoint added.
    1. 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.
      1. If Yes -> Do not create entry in the database. Return message saying user already exists.
      2. If No -> Create entry in the database. Return message saying user created successfully.

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

lapa_authentication-0.0.15.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

lapa_authentication-0.0.15-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file lapa_authentication-0.0.15.tar.gz.

File metadata

  • Download URL: lapa_authentication-0.0.15.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for lapa_authentication-0.0.15.tar.gz
Algorithm Hash digest
SHA256 f2c27e546c29bec060701b2f933e527024cdba105a01250902d21819fd121d9c
MD5 c681ac3f65f5c01b9c0e768c6e837e78
BLAKE2b-256 f36911673861afc1b2cecdb0745575214ebeddd4b85e2c91f55a51caffa25a07

See more details on using hashes here.

File details

Details for the file lapa_authentication-0.0.15-py3-none-any.whl.

File metadata

File hashes

Hashes for lapa_authentication-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 8806de8190064adedb9890c1e2ca298f9435c3ce5f7a4ae0315b84c1bb90cdb3
MD5 4ded76891c764d73b43ff8eb3f141350
BLAKE2b-256 7838551dd650fcc2505764576868893d2e8fd994452e4e9d60b7d0919e441ffa

See more details on using hashes here.

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