Skip to main content

Ready-to-use customizable solution for FastAPI with Authentication, Access Controle and OAuth2 support

Project description

FastAuth

FastAuth

Ready-to-use customizable solution for FastAPI with Authentication, Authorization(RBAC) and OAuth2 support


About

CI GitHub Actions Workflow Status codecov PyPI - Version PyPI - Downloads

Here’s a ready-to-use, customizable solution for FastAPI with Authentication, Authorization (RBAC), and OAuth2 support. This solution provides token based authentication(JWT, Redis, DB), role-based access control, and OAuth2 integration. Highly inspired by FastAPI Users and AuthX:


Features

  • Authentication:
    • Access and Refresh Token Dependencies
    • Different Token Strategy(JWT, Redis, Database)
    • Different Token locations(Header, Cookie, Query, etc.)
  • Authorization:
    • Roles and Permission support
    • OAuth2 support
  • User Management:
    • User Model protocol
    • Service-Repository pattern for flexible customization
    • Popular ORM support:
      • SQLAlchemy support
      • Beanie
      • Tortoise ORM

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

fastapi_fastauth-1.1.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

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

fastapi_fastauth-1.1.0-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_fastauth-1.1.0.tar.gz.

File metadata

  • Download URL: fastapi_fastauth-1.1.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fastapi_fastauth-1.1.0.tar.gz
Algorithm Hash digest
SHA256 87a7cd22b61266608b3939e4184b5cf8815bfc5bad48aa13f8a3959f0acd4dfb
MD5 0b46b7ebf547c4a8b8546ff701cd2abf
BLAKE2b-256 414bfcd673958c0b82be200070d6fe0e808ac2c9306b9deccf594116271293ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastapi_fastauth-1.1.0.tar.gz:

Publisher: release.yml on AstralMortem/fastapi-fastauth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fastapi_fastauth-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_fastauth-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d321511456317f09348e2494cccf0f719e15c07a9fc20de6092e155fc81bf808
MD5 a39135b507c5a8030bafec486a653896
BLAKE2b-256 25b5cacc793fab6343577e4760aa879ac5c0361193922760711744bca520356c

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastapi_fastauth-1.1.0-py3-none-any.whl:

Publisher: release.yml on AstralMortem/fastapi-fastauth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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