Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

X-Auth

JWT authentication for x-api

JWT cookie based Auth Middleware for ASGI framework. Stores in user_id, issued and expired dates, user role and blocked state. When token expired, it is automatically fetching user from db, and if he is not blocked now, then updates issue/expire dates, and user role if it was changed after the last user fetch.

Requirements

  • Python >= 3.12

INSTALL

pip install xn-auth

Made with ❤ on top of the X-Model.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xn_auth-0.2.68.dev1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xn_auth-0.2.68.dev1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file xn_auth-0.2.68.dev1.tar.gz.

File metadata

  • Download URL: xn_auth-0.2.68.dev1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.3

File hashes

Hashes for xn_auth-0.2.68.dev1.tar.gz
Algorithm Hash digest
SHA256 b4720c81bb15717737b2f5c3bae9923fe516c31df52c4a393c1a7326f04df26e
MD5 cf6d8e65f157f37f2eec18b434e9b96f
BLAKE2b-256 323b5f3af890f6c82144de9f09517ae68ca53de167ae7d762afa54b59bfc7acc

See more details on using hashes here.

File details

Details for the file xn_auth-0.2.68.dev1-py3-none-any.whl.

File metadata

  • Download URL: xn_auth-0.2.68.dev1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.3

File hashes

Hashes for xn_auth-0.2.68.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 b860316c35b80ab771a1f0c59724169269b311d5b48edf0293d7e4d374138628
MD5 955314b68a52927e7fd5f49a0aec8b0b
BLAKE2b-256 1aa96c26dcccdccc7f59df5b8b17a8377c3f03e8a648cb8173917f4d24b448e1

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.68

2 files

This release

0.2.68.dev1 This release

2 files

0.2.67

2 files

0.2.66

2 files

0.2.65

2 files

0.2.64

2 files

0.2.63

2 files

0.2.62

2 files

0.2.61

2 files

0.2.60

2 files

0.2.59

2 files

0.2.58

2 files

0.2.57

2 files

0.2.56

2 files

0.2.55

2 files

0.2.54

2 files

0.2.53

2 files

0.2.52

2 files

0.2.51

2 files

0.2.50

2 files

0.2.49

2 files

0.2.48

2 files

0.2.47

2 files

0.2.46

2 files

0.2.45

2 files

0.2.44

2 files

0.2.43

2 files

0.2.42

2 files

0.2.41

2 files

0.2.40

2 files

0.2.39

2 files

0.2.38

2 files

0.2.37

2 files

0.2.36

2 files

0.2.35

2 files

0.2.34

2 files

0.2.33

2 files

0.2.32

2 files

0.2.31

2 files

0.2.30

2 files

0.2.29

2 files

0.2.28

2 files

0.2.27

2 files

0.2.26

2 files

0.2.25

2 files

0.2.24

2 files

0.2.23

2 files

0.2.22

2 files

0.2.21

2 files

0.2.20

2 files

0.2.18

2 files

0.2.17

2 files

0.2.16

2 files

0.2.15

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.0

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page