Reusable Auth API logic component
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
auth_api_intra-0.1.1.tar.gz
(2.4 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 auth_api_intra-0.1.1.tar.gz.
File metadata
- Download URL: auth_api_intra-0.1.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20361af8057449fe60ff78f872cbe27e7ce2ba6f88ee25382bf82c6e8c192f2f
|
|
| MD5 |
c9cf1dccd641facfb70ce1f854bd83e1
|
|
| BLAKE2b-256 |
b80bd7f6971e24010d84ada6498ef572f49b03cbfd68ed49373903c901e6ea6a
|
File details
Details for the file auth_api_intra-0.1.1-py3-none-any.whl.
File metadata
- Download URL: auth_api_intra-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f04513eafff09e4696909103bf628e237a527dfab21f369c2cecd9a31352ac63
|
|
| MD5 |
336675d2fd9313e02247da8615dd9854
|
|
| BLAKE2b-256 |
0d789600a57073616c911adf75058d8706f4466b3fadad559d4bac6dbb433665
|