Check if authentication is required for the wiki.
()
| 152 | |
| 153 | @app.get("/auth/status") |
| 154 | async def get_auth_status(): |
| 155 | """ |
| 156 | Check if authentication is required for the wiki. |
| 157 | """ |
| 158 | return {"auth_required": WIKI_AUTH_MODE} |
| 159 | |
| 160 | @app.post("/auth/validate") |
| 161 | async def validate_auth_code(request: AuthorizationConfig): |
nothing calls this directly
no outgoing calls
no test coverage detected