(auth_credentials=Depends(HTTPBearer()))
| 84 | |
| 85 | |
| 86 | def require_auth(auth_credentials=Depends(HTTPBearer())): |
| 87 | if auth_credentials.credentials != os.environ["AUTHENTICATED_SYSTEM_KEY"]: |
| 88 | raise HTTPException(status_code=401, detail="Invalid authentication") |
nothing calls this directly
no outgoing calls
no test coverage detected