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.1.tar.gz (16.0 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.1-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_fastauth-1.1.1.tar.gz
  • Upload date:
  • Size: 16.0 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.1.tar.gz
Algorithm Hash digest
SHA256 e8477e90c8e3fb1c653add2a826889551fe8c17154ae24894d03a7b966d6331a
MD5 3da5b24c79103d68ff18a897001e90e9
BLAKE2b-256 0c4b2036e950c3262c44f7960013b809f4cd2c9c59a59ff51a1ca17a0ca99bbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastapi_fastauth-1.1.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_fastauth-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cab8af1083071c2bbba1ffde7f8cf520dcb62cc902a95b4c6e708b67571caf33
MD5 455010c1808e042151a4a347974a2787
BLAKE2b-256 f2b40d2abb10f04fedee330eeb6e57fdc73e06210eb0bc8180593def738dbdb1

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastapi_fastauth-1.1.1-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