Skip to main content

Some simple tools for authorization in web apps

Project description

PyAuthTools

Surpported Algorisms

HS256

RS256

Install

pip install pyauthtools

Usages

token = request.headers.get('Authorization').split(' ')[1]
result = jwtauthtool.decode_jwt(token, JWT_SECRET)

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

pyauthtools-0.0.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

pyauthtools-0.0.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file pyauthtools-0.0.2.tar.gz.

File metadata

  • Download URL: pyauthtools-0.0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for pyauthtools-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a173d6c6a24184fc149bdfa417d288e0223b0696d5f3a06f5d71b81cf821638a
MD5 0ac88b99dac1b54a3aabeda55790192f
BLAKE2b-256 e7fbc6562b721f8d179199519d49dc21edf6817937ce6955f3bf2e625ba582e1

See more details on using hashes here.

File details

Details for the file pyauthtools-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyauthtools-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for pyauthtools-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 befff6c45b35e2bafe3c75ad60858cd0ec7dae2dbf77dc146ab250203e00113e
MD5 020c3e06cd404ece981525bd0dd229a0
BLAKE2b-256 fea325ea4c235d01d3437ae061bb7b3eb9db52fb860766c5983f09ab6f70bc74

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page