auth_api
Reusable FastAPI authentication component with JWT.
Install
# pip install git+https://github.com/yourusername/auth_api.git
pip install auth-api-intra 0.1.1
Use
from fastapi import FastAPI
from auth_api import router as auth_router
app = FastAPI()
app.include_router(auth_router, prefix="/auth")
if __name__ == "__main__":
import uvicorn
uvicorn.run("main:app", host="", port=, reload=True)
Metadata
Release files for auth-api-intra 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| auth_api_intra-0.1.1.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| auth_api_intra-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.3 kB
Release files / auth_api_intra-0.1.1.tar.gz
| Download URL | auth_api_intra-0.1.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20361af8057449fe60ff78f872cbe27e7ce2ba6f88ee25382bf82c6e8c192f2f
|
|
BLAKE2b-256 checksum How to use checksums |
b80bd7f6971e24010d84ada6498ef572f49b03cbfd68ed49373903c901e6ea6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / auth_api_intra-0.1.1-py3-none-any.whl
| Download URL | auth_api_intra-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f04513eafff09e4696909103bf628e237a527dfab21f369c2cecd9a31352ac63
|
|
BLAKE2b-256 checksum How to use checksums |
0d789600a57073616c911adf75058d8706f4466b3fadad559d4bac6dbb433665
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|