Skip to main content

No project description provided

Project description

Fastbase

Role-based Access Contral (RBAC) via Firebase idtoken authententication using FastAPI and SQLModel.

Installation

pip install fastbase

or

poetry add fastbase

Instructions

Fastbase assumes a headless setup using a frontend such as React, Angular, etc.

  • Authentication: Managed by Firebase Auth
  • Authorization: Managed by Fastbase

Process:

  1. Authentication happens in the frontend (JS) using the official Firebase JS package. An idtoken will be generated if successful and attach this to your Authorization header.
  2. Upon reaching the server the idtoken is verified.
  3. At first use, using the /signin endpoint Fastbase checks if the user alread exists in the database. If user is new then a record is created using SQLModel.

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

fastbase-0.2.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

fastbase-0.2.2-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file fastbase-0.2.2.tar.gz.

File metadata

  • Download URL: fastbase-0.2.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/5.15.0-89-generic

File hashes

Hashes for fastbase-0.2.2.tar.gz
Algorithm Hash digest
SHA256 de3fff8558c2952b447af92d5c62cb54c98f53fd2fc77c84f7a951c32bfe0e3d
MD5 6a78fe23896d76df1b981ab3c0397adc
BLAKE2b-256 6908eb4ed41191963cc9e0a946e54768b55318b1ba7effaad4dcc11fc36ee8ba

See more details on using hashes here.

File details

Details for the file fastbase-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: fastbase-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/5.15.0-89-generic

File hashes

Hashes for fastbase-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6515c23141ab75aa2931ebdfaad26af083e36d6fa2db13f37b6bb5236f92b2dc
MD5 d95322d7b8ebe30e36821f2691a52e04
BLAKE2b-256 d1f00fcf4d895c40f6d4766db4630063ec5c4affc2c54ce292a7d47336676565

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