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:
- Authentication happens in the frontend (JS) using the official Firebase JS package. An
idtokenwill be generated if successful and attach this to yourAuthorizationheader. - Upon reaching the server the
idtokenis verified. - At first use, using the
/signinendpoint 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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de3fff8558c2952b447af92d5c62cb54c98f53fd2fc77c84f7a951c32bfe0e3d
|
|
| MD5 |
6a78fe23896d76df1b981ab3c0397adc
|
|
| BLAKE2b-256 |
6908eb4ed41191963cc9e0a946e54768b55318b1ba7effaad4dcc11fc36ee8ba
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6515c23141ab75aa2931ebdfaad26af083e36d6fa2db13f37b6bb5236f92b2dc
|
|
| MD5 |
d95322d7b8ebe30e36821f2691a52e04
|
|
| BLAKE2b-256 |
d1f00fcf4d895c40f6d4766db4630063ec5c4affc2c54ce292a7d47336676565
|