Skip to main content

zemfrog-auth

Authentication for the zemfrog framework

Currently only supports JWT (JSON Web Token) authentication.

Features

  • JWT Authentication Blueprint
  • Event signal support for user information (login, register, etc)

Usage

Install the module

pip install zemfrog-auth

Add jwt blueprints to your zemfrog application

BLUEPRINTS = ["zemfrog_auth.jwt"]

Using event signals

In this section I will give an example of using the event signal using a blinker.

# Add this to wsgi.py

from zemfrog_auth.signals import on_user_logged_in

@on_user_logged_in.connect
def on_logged_in(user):
    print("Signal user logged in:", user)

For a list of available signals, you can see it here. For signal documentation you can visit here.

Metadata

Release files for zemfrog-auth 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zemfrog-auth 1.0.3
File Size Uploaded Provenance Actions
zemfrog-auth-1.0.3.tar.gz 4.9 kB Without provenance Details for zemfrog-auth-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zemfrog-auth 1.0.3
File Interpreter ABI Platform Actions
zemfrog_auth-1.0.3-py3-none-any.whl Python 3 none any Details for zemfrog_auth-1.0.3-py3-none-any.whl

Total release size: 10.8 kB

Release files / zemfrog-auth-1.0.3.tar.gz

Download URL zemfrog-auth-1.0.3.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
106a72c0b31752b7e297e8e1dfd675c615a375efb26439f035ecc1ea59767f24
BLAKE2b-256 checksum
How to use checksums
e265e3dc8c9267684885e83fab4b60c95676d2cd206b3c891af0e0c362f20a69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.5 CPython/3.6.9 Linux/5.4.0-70-generic

Release files / zemfrog_auth-1.0.3-py3-none-any.whl

Download URL zemfrog_auth-1.0.3-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6dcbb685a4325ba0c3cb207d2bca12da97b33bb9b8af5a69b06c89510b1f7858
BLAKE2b-256 checksum
How to use checksums
d6d599ab18d49e123a79ebc9e0b114496f2a9b7e7d95e10dd3e85e8d3ef71c63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.5 CPython/3.6.9 Linux/5.4.0-70-generic

Security for zemfrog-auth 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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