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.2.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.2-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_fastauth-1.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 8db6c0f1bb5276f2c93c1d784bac3e0ef181ae14220386209a48e259f28b90d8
MD5 82bc084e12fcc46978da0bd9ab77790f
BLAKE2b-256 b6694008c9d2f9eeb7c13645eb9b5bf5b6836314c1e32c9490ac8105e3ddd764

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fastapi_fastauth-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c6c9e2d18c07378c3fc6417ec08c6e2aaa418154cb98030c5fe653a9fb67b9d4
MD5 477d6cdb5fb7a64f14ab14bfbdb92cad
BLAKE2b-256 6499e9a5f0f5faac6c6da90df021de997ff4cad4280e4107591353a1f8fcfe90

See more details on using hashes here.

Provenance

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