Skip to main content

fastAPI Casdoor

Integration Casdoor with FastAPI

Installation

pip install fastapi-casdoor-fix

Usage

from typing import Annotated
from fastapi import FastAPI, Depends
from fastapi_casdoor.deps import get_current_user
from fastapi_casdoor.models import User

app = FastAPI()

@app.get("/")
async def root(user: Annotated[User, Depends(get_current_user)]):
    return {
        "user": user,
    }

Metadata

Release files for fastapi-casdoor-fix 0.1.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-casdoor-fix 0.1.16
File Size Uploaded
fastapi_casdoor_fix-0.1.16.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-casdoor-fix 0.1.16
File Interpreter ABI Platform
fastapi_casdoor_fix-0.1.16-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / fastapi_casdoor_fix-0.1.16.tar.gz

Download URL fastapi_casdoor_fix-0.1.16.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cba9d70f003abfe1040485c37e2b72b984f736847095013850f6a77344a4dabd
BLAKE2b-256 checksum
How to use checksums
b7998f15e9164e1ee2ea0cd6ad25228c108cb6d648017c5ff7cc25cf03564b60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 20, 2025.

Transparency log

Release files / fastapi_casdoor_fix-0.1.16-py3-none-any.whl

Download URL fastapi_casdoor_fix-0.1.16-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23f277853d80e52023cf9c242d234c4bd972a40149daeb9bd1c8f8255c033fda
BLAKE2b-256 checksum
How to use checksums
db3a62f1e6678becd3462181ff31cb629e891180b58503d4b1aa150ad1d68304
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 20, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.16 This release

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page