ASGI Middleware and FastAPI Dependency for adding Kerberos/GSS authentication to FastAPI
TBD on packaging
See the FastAPI Advanced Middleware documentation
basic:
from fastapi import FastAPI
from fastapi_gssapi import GSSAPIMiddleware
app = FastAPI()
app.add_middleware(GSSAPIMiddleware)
See the example app